mirror of https://github.com/sbt/sbt.git
update scala versions in scripted test
This commit is contained in:
parent
aeeee2f624
commit
74be55d0f6
|
|
@ -11,7 +11,7 @@ lazy val root = (project in file("."))
|
|||
|
||||
lazy val foo = project
|
||||
.settings(
|
||||
crossScalaVersions := Seq(scala212, "2.13.1"),
|
||||
crossScalaVersions := Seq(scala212, "2.13.11"),
|
||||
libraryDependencies += "org.scalatest" %% "scalatest" % "3.1.0",
|
||||
|
||||
check := {
|
||||
|
|
@ -43,7 +43,7 @@ lazy val bar = project
|
|||
|
||||
lazy val baz = project
|
||||
.settings(
|
||||
crossScalaVersions := Seq("2.13.1"),
|
||||
crossScalaVersions := Seq("2.13.11"),
|
||||
check := {
|
||||
// This tests that +baz/check will respect bar's crossScalaVersions and not switch
|
||||
val x = (LocalProject("bar") / scalaVersion).value
|
||||
|
|
@ -54,7 +54,7 @@ lazy val baz = project
|
|||
|
||||
lazy val client = project
|
||||
.settings(
|
||||
crossScalaVersions := Seq(scala212, "2.13.1"),
|
||||
crossScalaVersions := Seq(scala212, "2.13.11"),
|
||||
check := (Compile / compile).value,
|
||||
compile2 := (Compile / compile).value,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
## test + with command or alias
|
||||
> clean
|
||||
## for command cross building you do need crossScalaVerions on root
|
||||
> set root/crossScalaVersions := Seq("2.12.18", "2.13.1")
|
||||
> set root/crossScalaVersions := Seq("2.12.18", "2.13.11")
|
||||
> + build
|
||||
$ exists foo/target/scala-2.12
|
||||
$ exists foo/target/scala-2.13
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
scalaVersion := "2.12.12"
|
||||
crossScalaVersions := List("2.12.12", "2.13.0")
|
||||
scalaVersion := "2.12.18"
|
||||
crossScalaVersions := List("2.12.18", "2.13.11")
|
||||
|
||||
val setLastModified = taskKey[Unit]("Sets the last modified time for classfiles")
|
||||
setLastModified := {
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
crossScalaVersions := Seq[String]("2.11.12", "2.12.12")
|
||||
crossScalaVersions := Seq[String]("2.11.12", "2.12.18")
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
> ++2.11.12; compile
|
||||
|
||||
> ++ 2.12.12 ; compile;
|
||||
> ++ 2.12.18 ; compile;
|
||||
|
||||
> ++ 2.12.12 ; compile
|
||||
> ++ 2.12.18 ; compile
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
lazy val scala212 = "2.12.12"
|
||||
lazy val scala213 = "2.13.1"
|
||||
lazy val scala212 = "2.12.18"
|
||||
lazy val scala213 = "2.13.11"
|
||||
|
||||
ThisBuild / crossScalaVersions := Seq(scala212, scala213)
|
||||
ThisBuild / scalaVersion := scala212
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ $ exists lib/target/scala-2.13
|
|||
|
||||
# test safe switching
|
||||
> clean
|
||||
> ++ 2.12.12 -v compile
|
||||
> ++ 2.12.18 -v compile
|
||||
$ exists lib/target/scala-2.12
|
||||
-$ exists lib/target/scala-2.13
|
||||
$ exists sbt-foo/target/scala-2.12
|
||||
|
|
@ -29,14 +29,14 @@ $ exists sbt-foo/target/scala-2.12
|
|||
|
||||
# Test ++ leaves crossScalaVersions unchanged
|
||||
> clean
|
||||
> ++2.12.12
|
||||
> ++2.12.18
|
||||
> +extrasProj/compile
|
||||
$ exists extras/target/scala-2.13
|
||||
$ exists extras/target/scala-2.12
|
||||
|
||||
# test safe switching
|
||||
> clean
|
||||
> ++ 2.13.1 -v compile
|
||||
> ++ 2.13.11 -v compile
|
||||
$ exists lib/target/scala-2.13
|
||||
-$ exists lib/target/scala-2.12
|
||||
# -$ exists sbt-foo/target/scala-2.12
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
lazy val scala212 = "2.12.18"
|
||||
lazy val scala213 = "2.13.1"
|
||||
lazy val scala213 = "2.13.11"
|
||||
|
||||
ThisBuild / scalaVersion := scala212
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
-> ++2.12.12
|
||||
|
||||
> ++2.13.1 compile
|
||||
> ++2.13.11 compile
|
||||
|
||||
$ exists core/target/scala-2.13
|
||||
-$ exists module/target/scala-2.13
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ val newContents = "bbbbbbbbb"
|
|||
|
||||
val rootContentFile = "root.txt"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ import Parsers._
|
|||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
crossPaths := false,
|
||||
crossScalaVersions := Seq("2.12.12", "2.13.3"),
|
||||
scalaVersion := "2.12.12",
|
||||
crossScalaVersions := Seq("2.12.18", "2.13.11"),
|
||||
scalaVersion := "2.12.18",
|
||||
Compile / doc / scalacOptions += "-Xfatal-warnings",
|
||||
commands += Command.command("excludeB") { s =>
|
||||
val impl = """val src = (sources in Compile).value; src.filterNot(_.getName.contains("B"))"""
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ $ exists target/api/pkg/J.html
|
|||
$ absent target/api/index.js
|
||||
|
||||
> setDocExtension scala
|
||||
> ++2.13.3
|
||||
> ++2.13.11
|
||||
> clean
|
||||
$ absent target/api/A$.html
|
||||
> doc
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val buildInfo = taskKey[Seq[File]]("generates the build info")
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -19,4 +19,4 @@ val dynamicTask = taskKey[Unit]("dynamic input task")
|
|||
|
||||
dynamicTask := { println("not yet et") }
|
||||
|
||||
crossScalaVersions := "2.11.12" :: "2.12.12" :: Nil
|
||||
crossScalaVersions := "2.11.12" :: "2.12.18" :: Nil
|
||||
|
|
|
|||
|
|
@ -37,4 +37,4 @@
|
|||
|
||||
> ++ 2.11.12 compile; setStringValue bar; checkStringValue bar
|
||||
|
||||
> ++2.12.12 compile; setStringValue foo; checkStringValue foo
|
||||
> ++2.12.18 compile; setStringValue foo; checkStringValue foo
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
name := "my-project"
|
||||
|
||||
scalaVersion := "2.12.12"
|
||||
scalaVersion := "2.12.18"
|
||||
|
||||
semanticdbIncludeInJar := true
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ lazy val CustomArtifact = config("custom-artifact")
|
|||
val recordPreviousIterations = taskKey[Unit]("Record previous iterations.")
|
||||
val checkIterations = inputKey[Unit]("Verifies the accumulated number of iterations of incremental compilation.")
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
ThisBuild / pushRemoteCacheTo := Some(
|
||||
MavenCache("local-cache", (ThisBuild / baseDirectory).value / "r")
|
||||
)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ ThisBuild / turbo := true
|
|||
|
||||
val akkaTest = (project in file(".")).settings(
|
||||
name := "akka-test",
|
||||
scalaVersion := "2.12.12",
|
||||
scalaVersion := "2.12.18",
|
||||
libraryDependencies ++= Seq(
|
||||
"com.typesafe.akka" %% "akka-actor" % "2.5.16",
|
||||
"com.lihaoyi" %% "utest" % "0.6.6" % "test"
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ def wrap(task: InputKey[Unit]): Def.Initialize[Task[Unit]] =
|
|||
ThisBuild / turbo := true
|
||||
|
||||
val root = (project in file(".")).settings(
|
||||
scalaVersion := "2.12.12",
|
||||
scalaVersion := "2.12.18",
|
||||
javacOptions ++= Seq("-source", "1.8", "-target", "1.8", "-h",
|
||||
sourceDirectory.value.toPath.resolve("main/native/include").toString),
|
||||
libraryDependencies += "com.lihaoyi" %% "utest" % "0.6.6" % "test",
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ ThisBuild / turbo := true
|
|||
|
||||
val snapshot = (project in file(".")).settings(
|
||||
name := "mismatched-libraries",
|
||||
scalaVersion := "2.12.12",
|
||||
scalaVersion := "2.12.18",
|
||||
libraryDependencies ++= Seq("com.lihaoyi" %% "utest" % "0.6.6" % "test"),
|
||||
testFrameworks := Seq(TestFramework("utest.runner.Framework")),
|
||||
resolvers += "Local Maven" at file("libraries/ivy").toURI.toURL.toString,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val layeringStrategyTest = (project in file(".")).settings(
|
||||
name := "layering-strategy-test",
|
||||
scalaVersion := "2.12.12",
|
||||
scalaVersion := "2.12.18",
|
||||
organization := "sbt",
|
||||
libraryDependencies += "com.typesafe.akka" %% "akka-actor" % "2.5.16",
|
||||
)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ ThisBuild / useCoursier := false
|
|||
|
||||
val snapshot = (project in file(".")).settings(
|
||||
name := "akka-test",
|
||||
scalaVersion := "2.12.12",
|
||||
scalaVersion := "2.12.18",
|
||||
libraryDependencies ++= Seq(
|
||||
"com.lihaoyi" %% "utest" % "0.6.6" % "test"
|
||||
),
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
<dependency>
|
||||
<groupId>org.scala-lang</groupId>
|
||||
<artifactId>scala-library</artifactId>
|
||||
<version>2.12.12</version>
|
||||
<version>2.12.18</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
<dependency>
|
||||
<groupId>org.scala-lang</groupId>
|
||||
<artifactId>scala-library</artifactId>
|
||||
<version>2.12.12</version>
|
||||
<version>2.12.18</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ name := "Simple Project"
|
|||
|
||||
version := "1.0"
|
||||
|
||||
scalaVersion := "2.12.12"
|
||||
scalaVersion := "2.12.18"
|
||||
|
||||
libraryDependencies += "org.apache.spark" %% "spark-sql" % "2.4.3"
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ ThisBuild / turbo := true
|
|||
|
||||
val utestTest = (project in file(".")).settings(
|
||||
name := "utest-test",
|
||||
scalaVersion := "2.12.12",
|
||||
scalaVersion := "2.12.18",
|
||||
libraryDependencies ++= Seq(
|
||||
"com.lihaoyi" %% "utest" % "0.6.6" % "test"
|
||||
),
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
lazy val root = (project in file(".")).
|
||||
settings(
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
lazy val scala212 = "2.12.12"
|
||||
lazy val scala213 = "2.13.1"
|
||||
lazy val scala212 = "2.12.18"
|
||||
lazy val scala213 = "2.13.11"
|
||||
ThisBuild / scalaVersion := scala212
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
scalaVersion := "2.13.1"
|
||||
scalaVersion := "2.13.11"
|
||||
|
||||
// Send some bogus initial command so that it doesn't get stuck.
|
||||
// The task itself will still succeed.
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
scalaVersion := "2.12.12"
|
||||
scalaVersion := "2.12.18"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
ThisBuild / version := "0.1.0-SNAPSHOT"
|
||||
ThisBuild / scalaVersion := "2.13.5"
|
||||
ThisBuild / scalaVersion := "2.13.11"
|
||||
|
||||
name := "asciiGraphWidthSpecs"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
ThisBuild / version := "0.1.0-SNAPSHOT"
|
||||
ThisBuild / scalaVersion := "2.13.5"
|
||||
ThisBuild / scalaVersion := "2.13.11"
|
||||
|
||||
name := "whatDependsOn"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
ThisBuild / version := "0.1.0-SNAPSHOT"
|
||||
ThisBuild / scalaVersion := "2.13.5"
|
||||
ThisBuild / scalaVersion := "2.13.11"
|
||||
|
||||
name := "whatDependsOn"
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ lazy val check = taskKey[Unit]("")
|
|||
lazy val checkArtifact = taskKey[Unit]("")
|
||||
|
||||
ThisBuild / useCoursier := false
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
ThisBuild / version := "0.1.0-SNAPSHOT"
|
||||
ThisBuild / organization := "com.example"
|
||||
ThisBuild / organizationName := "example"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import xsbti.AppConfiguration
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
// TTL of Coursier is 24h
|
||||
ThisBuild / useCoursier := false
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ lazy val check = taskKey[Unit]("Runs the check")
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
val junit = "junit" % "junit" % "4.13.1"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
ThisBuild / csrCacheDirectory := (ThisBuild / baseDirectory).value / "coursier-cache"
|
||||
|
||||
def commonSettings: Seq[Def.Setting[_]] =
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
lazy val check = taskKey[Unit]("")
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
libraryDependencies ++= List(
|
||||
"org.webjars.npm" % "randomatic" % "1.1.7",
|
||||
"org.webjars.npm" % "is-odd" % "2.0.0",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
scalaVersion := "2.13.1"
|
||||
scalaVersion := "2.13.11"
|
||||
csrConfiguration := csrConfiguration.value.withCache(target.value / "coursier-cache")
|
||||
|
||||
libraryDependencies += "com.typesafe.play" %% "play-test" % "2.8.0-RC1" % Test // worked around in 2.8.0
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.13.0"
|
||||
ThisBuild / scalaVersion := "2.13.11"
|
||||
ThisBuild / csrCacheDirectory := (ThisBuild / baseDirectory).value / "coursier-cache"
|
||||
ivyPaths := IvyPaths(baseDirectory.value, Some(target.value / "ivy-cache"))
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import xsbti.AppConfiguration
|
||||
// ThisBuild / useCoursier := false
|
||||
ThisBuild / organization := "com.example"
|
||||
ThisBuild / scalaVersion := "2.13.3"
|
||||
ThisBuild / scalaVersion := "2.13.11"
|
||||
ThisBuild / versionScheme := Some("semver-spec")
|
||||
ThisBuild / csrCacheDirectory := (ThisBuild / baseDirectory).value / "coursier-cache"
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
scalaVersion := "2.12.12"
|
||||
scalaVersion := "2.12.18"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.13.2"
|
||||
ThisBuild / scalaVersion := "2.13.11"
|
||||
libraryDependencies ++= Seq(
|
||||
"com.chuusai" %% "shapeless" % "2.3.3",
|
||||
// non-existing
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
ThisBuild / organization := "com.example"
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
ThisBuild / csrCacheDirectory := (ThisBuild / baseDirectory).value / "coursier-cache"
|
||||
|
||||
def customIvyPaths: Seq[Def.Setting[_]] = Seq(
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
ThisBuild / organization := "com.example"
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
// TTL is 24h so we can't detect the change
|
||||
ThisBuild / useCoursier := false
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
lazy val check = taskKey[Unit]("")
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
name := "hello"
|
||||
enablePlugins(JavaAppPackaging)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
name := "projA"
|
||||
|
||||
scalaVersion := "2.12.12"
|
||||
scalaVersion := "2.12.18"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
val baseSbt = "1."
|
||||
|
||||
val buildCrossList = List("2.10.7", "2.11.12", "2.12.12")
|
||||
scalaVersion in ThisBuild := "2.12.12"
|
||||
val buildCrossList = List("2.10.7", "2.11.12", "2.12.18")
|
||||
scalaVersion in ThisBuild := "2.12.18"
|
||||
crossScalaVersions in ThisBuild := buildCrossList
|
||||
|
||||
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.7.0")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val unpackage = TaskKey[Unit]("unpackage")
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
ThisBuild / trackInternalDependencies := TrackLevel.NoTracking
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.13.1"
|
||||
ThisBuild / scalaVersion := "2.13.11"
|
||||
ThisBuild / version := "0.1.0-SNAPSHOT"
|
||||
|
||||
lazy val check = taskKey[Unit]("")
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
lazy val dep = project
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ $ copy-file changes/A2.scala A.scala
|
|||
> run 2
|
||||
|
||||
> clean
|
||||
> ++2.13.6!
|
||||
> ++2.13.11!
|
||||
|
||||
$ copy-file changes/A1.scala A.scala
|
||||
> run 1
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
# A.scala needs B.scala, it would be in source list
|
||||
> ++2.12.12!
|
||||
> ++2.12.18!
|
||||
> compile
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
val paradiseVersion = "2.1.1"
|
||||
val commonSettings = Seq(
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
val defaultSettings = Seq(
|
||||
libraryDependencies += scalaVersion("org.scala-lang" % "scala-reflect" % _ ).value
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
val defaultSettings = Seq(
|
||||
libraryDependencies += scalaVersion("org.scala-lang" % "scala-reflect" % _ ).value
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
val defaultSettings = Seq(
|
||||
libraryDependencies += scalaVersion("org.scala-lang" % "scala-reflect" % _ ).value
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
val defaultSettings = Seq(
|
||||
libraryDependencies += scalaVersion("org.scala-lang" % "scala-reflect" % _ ).value
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.13.3"
|
||||
ThisBuild / scalaVersion := "2.13.11"
|
||||
ThisBuild / usePipelining := true
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.13.3"
|
||||
ThisBuild / scalaVersion := "2.13.11"
|
||||
ThisBuild / usePipelining := true
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
val foo = settingKey[Seq[String]]("foo")
|
||||
val checkFoo = inputKey[Unit]("check contents of foo")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.2.2"
|
||||
val munit = "org.scalameta" %% "munit" % "0.7.22"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
libraryDependencies += scalatest % Test
|
||||
libraryDependencies += munit % Test
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import Tests._
|
||||
import Defaults._
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
val check = taskKey[Unit]("Check that tests are executed in parallel")
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
val specs = "org.specs2" %% "specs2-core" % "4.3.4"
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
val TestATypeTag = Tags.Tag("TestA")
|
||||
val TestBTypeTag = Tags.Tag("TestB")
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
val specs = "org.specs2" %% "specs2-core" % "4.3.4"
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
Global / concurrentRestrictions := Seq(Tags.limitAll(4))
|
||||
libraryDependencies += specs % Test
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
libraryDependencies += "org.scala-sbt" % "test-interface" % "1.0"
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ val scalaxml = "org.scala-lang.modules" %% "scala-xml" % "1.1.1"
|
|||
def groupId(idx: Int) = "group_" + (idx + 1)
|
||||
def groupPrefix(idx: Int) = groupId(idx) + "_file_"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
ThisBuild / organization := "org.example"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
fork := true
|
||||
libraryDependencies += scalatest % Test
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
val specs = "org.specs2" %% "specs2-core" % "4.3.4"
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ val nestedSuitesReportFile = "target/test-reports/TEST-my.scalatest.MyNestedSuit
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
val junitinterface = "com.novocode" % "junit-interface" % "0.11"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
lazy val root = (project in file(".")).
|
||||
settings(
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
lazy val munit = "org.scalameta" %% "munit" % "0.7.22"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
val scalaxml = "org.scala-lang.modules" %% "scala-xml" % "1.1.1"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val scalcheck = "org.scalacheck" %% "scalacheck" % "1.14.0"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
ThisBuild / version := "0.0.1"
|
||||
ThisBuild / organization := "org.catastrophe"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
val specsJunit = "org.specs2" %% "specs2-junit" % "4.3.4"
|
||||
val junitinterface = "com.novocode" % "junit-interface" % "0.11"
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
libraryDependencies += junitinterface % Test
|
||||
libraryDependencies += specsJunit % Test
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
val scalcheck = "org.scalacheck" %% "scalacheck" % "1.14.0"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
Test / parallelExecution := false
|
||||
libraryDependencies += scalcheck % Test
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
val specs = "org.specs2" %% "specs2-core" % "4.3.4"
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
libraryDependencies += specs % Test
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.13.1"
|
||||
ThisBuild / scalaVersion := "2.13.11"
|
||||
ThisBuild / version := "0.1.0-SNAPSHOT"
|
||||
ThisBuild / organization := "com.example"
|
||||
ThisBuild / organizationName := "example"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
ThisBuild / organization := "com.example"
|
||||
ThisBuild / version := "0.0.1-SNAPSHOT"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
libraryDependencies += scalatest
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
libraryDependencies += scalatest
|
||||
Test / testOptions += Tests.Argument("-C", "custom.CustomReporter")
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
val specs = "org.specs2" %% "specs2-core" % "4.3.4"
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
libraryDependencies += specs % Test
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ val check = TaskKey[Unit]("check", "Check correct error has been returned.")
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
val scalaxml = "org.scala-lang.modules" %% "scala-xml" % "1.1.1"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
lazy val root = (project in file(".")).
|
||||
settings(
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
libraryDependencies += scalatest
|
||||
Test / testOptions += Tests.Argument("-C", "custom.CustomReporter")
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
ThisBuild / scalaVersion := "2.12.12"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -53,4 +53,4 @@ expectFailure / watchOnFileInputEvent := { (_, e) =>
|
|||
}
|
||||
|
||||
|
||||
crossScalaVersions := Seq("2.11.12", "2.12.12")
|
||||
crossScalaVersions := Seq("2.11.12", "2.12.18")
|
||||
|
|
|
|||
Loading…
Reference in New Issue