Skip to content

Commit 13060af

Browse files
committed
Update scala versions in test
1 parent 57e24f4 commit 13060af

File tree

14 files changed

+30
-30
lines changed

14 files changed

+30
-30
lines changed

src/sbt-test/sbt-buildinfo/append/build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
lazy val check = taskKey[Unit]("check")
22

3-
ThisBuild / scalaVersion := "2.12.12"
3+
ThisBuild / scalaVersion := "2.12.21"
44
ThisBuild / organization := "com.example"
55
ThisBuild / version := "0.1"
66
ThisBuild / homepage := Some(url("http://example.com"))
@@ -33,8 +33,8 @@ lazy val root = (project in file("."))
3333
""" val name: String = "helloworld"""" ::
3434
""" /** The value is "0.1". */""" ::
3535
""" val version: String = "0.1"""" ::
36-
""" /** The value is "2.12.12". */""" ::
37-
""" val scalaVersion: String = "2.12.12"""" ::
36+
""" /** The value is "2.12.21". */""" ::
37+
""" val scalaVersion: String = "2.12.21"""" ::
3838
sbtVersionComment ::
3939
sbtVersionCode ::
4040
""" /** The value is "com.example". */""" ::

src/sbt-test/sbt-buildinfo/buildtime/build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import scala.collection.immutable.::
22

33
lazy val check = taskKey[Unit]("checks this plugin")
44

5-
ThisBuild / scalaVersion := "2.12.12"
5+
ThisBuild / scalaVersion := "2.12.21"
66
ThisBuild / organization := "com.example"
77
ThisBuild / version := "0.1"
88
ThisBuild / homepage := Some(url("http://example.com"))
@@ -38,8 +38,8 @@ lazy val root = (project in file("."))
3838
""" val name: String = "helloworld"""" ::
3939
""" /** The value is "0.1". */"""::
4040
""" val version: String = "0.1"""" ::
41-
""" /** The value is "2.12.12". */""" ::
42-
""" val scalaVersion: String = "2.12.12"""" ::
41+
""" /** The value is "2.12.21". */""" ::
42+
""" val scalaVersion: String = "2.12.21"""" ::
4343
builtAtStringComment ::
4444
builtAtString ::
4545
builtAtMillisComment ::

src/sbt-test/sbt-buildinfo/caching/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
lazy val check = taskKey[Unit]("check")
22

3-
ThisBuild / scalaVersion := "2.12.12"
3+
ThisBuild / scalaVersion := "2.12.21"
44
ThisBuild / organization := "com.example"
55
ThisBuild / version := "0.1"
66
ThisBuild / homepage := Some(url("http://example.com"))

src/sbt-test/sbt-buildinfo/caseclassrenderer/build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import sbtbuildinfo.ScalaCaseClassRenderer
33
lazy val check = taskKey[Unit]("checks this plugin")
44

55
ThisBuild / version := "0.1"
6-
ThisBuild / scalaVersion := "2.12.12"
6+
ThisBuild / scalaVersion := "2.12.21"
77
ThisBuild / homepage := Some(url("http://example.com"))
88
ThisBuild / licenses := Seq("MIT License" -> url("https://github.com/sbt/sbt-buildinfo/blob/master/LICENSE"))
99

@@ -105,7 +105,7 @@ lazy val root = (project in file("."))
105105
""" def apply(): BuildInfo = new BuildInfo(""" ::
106106
""" name = "helloworld",""" ::
107107
""" projectVersion = 0.1,""" ::
108-
""" scalaVersion = "2.12.12",""" ::
108+
""" scalaVersion = "2.12.21",""" ::
109109
""" ivyXML = scala.xml.NodeSeq.Empty,""" ::
110110
homepage ::
111111
licenses ::

src/sbt-test/sbt-buildinfo/javasingletonrenderer/build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import sbtbuildinfo.JavaSingletonRenderer
33
lazy val check = taskKey[Unit]("checks this plugin")
44

55
ThisBuild / version := "0.1"
6-
ThisBuild / scalaVersion := "2.12.12"
6+
ThisBuild / scalaVersion := "2.12.21"
77
ThisBuild / homepage := Some(url("http://example.com"))
88
ThisBuild / licenses := Seq("MIT License" -> url("https://github.com/sbt/sbt-buildinfo/blob/master/LICENSE"))
99

@@ -51,8 +51,8 @@ lazy val root = (project in file("."))
5151
"""""" ::
5252
""" /** The value is "helloworld". */""" ::
5353
""" public final String name = "helloworld";""" ::
54-
""" /** The value is "2.12.12". */""" ::
55-
""" public final String scalaVersion = "2.12.12";""" ::
54+
""" /** The value is "2.12.21". */""" ::
55+
""" public final String scalaVersion = "2.12.21";""" ::
5656
homepageComment ::
5757
homepageCode ::
5858
licensesComment ::

src/sbt-test/sbt-buildinfo/javastaticfieldsrenderer/build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import sbtbuildinfo.JavaStaticFieldsRenderer
33
lazy val check = taskKey[Unit]("checks this plugin")
44

55
ThisBuild / version := "0.1"
6-
ThisBuild / scalaVersion := "2.12.12"
6+
ThisBuild / scalaVersion := "2.12.21"
77
ThisBuild / homepage := Some(url("http://example.com"))
88
ThisBuild / licenses := Seq("MIT License" -> url("https://github.com/sbt/sbt-buildinfo/blob/master/LICENSE"))
99

@@ -49,8 +49,8 @@ lazy val root = (project in file("."))
4949
"""""" ::
5050
""" /** The value is "helloworld". */""" ::
5151
""" public static final String name = "helloworld";""" ::
52-
""" /** The value is "2.12.12". */""" ::
53-
""" public static final String scalaVersion = "2.12.12";""" ::
52+
""" /** The value is "2.12.21". */""" ::
53+
""" public static final String scalaVersion = "2.12.21";""" ::
5454
homepageComment ::
5555
homepageCode ::
5656
licensesComment ::

src/sbt-test/sbt-buildinfo/options/build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
lazy val check = taskKey[Unit]("checks this plugin")
22

33
ThisBuild / version := "0.1"
4-
ThisBuild / scalaVersion := "2.12.12"
4+
ThisBuild / scalaVersion := "2.12.21"
55

66
lazy val root = (project in file("."))
77
.enablePlugins(BuildInfoPlugin)
@@ -36,8 +36,8 @@ lazy val root = (project in file("."))
3636
"""private[hello] case object BuildInfo extends TestTrait1 with TestTrait2 with TestTrait3 {""" ::
3737
""" /** The value is "helloworld". */""" ::
3838
""" val name: String = "helloworld"""" ::
39-
""" /** The value is "2.12.12". */""" ::
40-
""" val scalaVersion: String = "2.12.12"""" ::
39+
""" /** The value is "2.12.21". */""" ::
40+
""" val scalaVersion: String = "2.12.21"""" ::
4141
""" override val toString: String = {""" ::
4242
""" "name: %s, scalaVersion: %s".format(""" ::
4343
""" name, scalaVersion""" ::

src/sbt-test/sbt-buildinfo/options/src/main/scala/hello/Test.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package hello
33
import scala.Predef._
44

55
object Test extends scala.App {
6-
val expected = """{"name":"helloworld", "scalaVersion":"2.12.12"}"""
6+
val expected = """{"name":"helloworld", "scalaVersion":"2.12.21"}"""
77
val actual = hello.BuildInfo.toJson
88
assert(actual == expected, "expected " + expected + " but found " + actual)
99
}

src/sbt-test/sbt-buildinfo/simple/test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# $ exists target/scala-2.13/src_managed/main/sbt-buildinfo/BuildInfo.scala
44
> check
55

6-
> ++2.12.12!
6+
> ++2.12.21!
77
> compile
88
> doc
99
# $ exists target/scala-2.12/src_managed/main/sbt-buildinfo/BuildInfo.scala

src/sbt-test/sbt-buildinfo/skipimportscaseclass/build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import sbtbuildinfo.ScalaCaseClassRenderer
33
lazy val check = taskKey[Unit]("checks this plugin")
44

55
ThisBuild / version := "0.1"
6-
ThisBuild / scalaVersion := "2.12.12"
6+
ThisBuild / scalaVersion := "2.12.21"
77
ThisBuild / homepage := Some(url("http://example.com"))
88
ThisBuild / licenses := Seq("MIT License" -> url("https://github.com/sbt/sbt-buildinfo/blob/master/LICENSE"))
99

@@ -93,7 +93,7 @@ lazy val root = (project in file("."))
9393
"""case object BuildInfo {""" ::
9494
""" def apply(): BuildInfo = new BuildInfo(""" ::
9595
""" name = "helloworld",""" ::
96-
""" scalaVersion = "2.12.12",""" ::
96+
""" scalaVersion = "2.12.21",""" ::
9797
""" ivyXML = scala.xml.NodeSeq.Empty,""" ::
9898
homagepageApply ::
9999
licensesApply ::

0 commit comments

Comments
 (0)