mirror of https://github.com/sbt/sbt.git
Bump Scala 2 to 2.19.20
This commit is contained in:
parent
3decafbf43
commit
dd16c9b0db
|
|
@ -47,7 +47,7 @@ ThisBuild / libraryDependencySchemes += "org.scala-lang.modules" %% "scala-xml"
|
|||
|
||||
Global / semanticdbEnabled := !(Global / insideCI).value
|
||||
// Change main/src/main/scala/sbt/plugins/SemanticdbPlugin.scala too, if you change this.
|
||||
Global / semanticdbVersion := "4.7.8"
|
||||
Global / semanticdbVersion := "4.9.9"
|
||||
Global / excludeLintKeys += Utils.componentID
|
||||
Global / excludeLintKeys += scriptedBufferLog
|
||||
Global / excludeLintKeys += checkPluginCross
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ lazy val sbtVersionToRelease = sys.props.getOrElse("sbt.build.version", sys.env.
|
|||
}))
|
||||
|
||||
lazy val scala210 = "2.10.7"
|
||||
lazy val scala212 = "2.12.19"
|
||||
lazy val scala212 = "2.12.20"
|
||||
lazy val scala210Jline = "org.scala-lang" % "jline" % scala210
|
||||
lazy val jansi = {
|
||||
if (sbtVersionToRelease startsWith "1.") "org.fusesource.jansi" % "jansi" % "1.12"
|
||||
|
|
@ -34,7 +34,7 @@ lazy val jansi = {
|
|||
}
|
||||
lazy val scala212Compiler = "org.scala-lang" % "scala-compiler" % scala212
|
||||
lazy val scala212Jline = "jline" % "jline" % "2.14.6"
|
||||
// use the scala-xml version used by the compiler not the latest: https://github.com/scala/scala/blob/v2.12.19/versions.properties
|
||||
// use the scala-xml version used by the compiler not the latest: https://github.com/scala/scala/blob/v2.12.20/versions.properties
|
||||
lazy val scala212Xml = "org.scala-lang.modules" % "scala-xml_2.12" % "2.2.0"
|
||||
lazy val sbtActual = "org.scala-sbt" % "sbt" % sbtVersionToRelease
|
||||
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ private[sbt] object PluginCross {
|
|||
VersionNumber(sv) match {
|
||||
case VersionNumber(Seq(0, 12, _*), _, _) => "2.9.2"
|
||||
case VersionNumber(Seq(0, 13, _*), _, _) => "2.10.7"
|
||||
case VersionNumber(Seq(1, 0, _*), _, _) => "2.12.19"
|
||||
case VersionNumber(Seq(1, 0, _*), _, _) => "2.12.20"
|
||||
case _ => sys.error(s"Unsupported sbt binary version: $sv")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ object SemanticdbPlugin extends AutoPlugin {
|
|||
semanticdbEnabled := SysProp.semanticdb,
|
||||
semanticdbIncludeInJar := false,
|
||||
semanticdbOptions := List(),
|
||||
semanticdbVersion := "4.7.8"
|
||||
semanticdbVersion := "4.9.9"
|
||||
)
|
||||
|
||||
override lazy val projectSettings: Seq[Def.Setting[_]] = Seq(
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import sbt.contraband.ContrabandPlugin.autoImport._
|
|||
|
||||
object Dependencies {
|
||||
// WARNING: Please Scala update versions in PluginCross.scala too
|
||||
val scala212 = "2.12.19"
|
||||
val scala212 = "2.12.20"
|
||||
val scala213 = "2.13.12"
|
||||
val scala3 = "3.3.1"
|
||||
val checkPluginCross = settingKey[Unit]("Make sure scalaVersion match up")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
lazy val check = taskKey[Unit]("")
|
||||
lazy val compile2 = taskKey[Unit]("")
|
||||
lazy val scala212 = "2.12.19"
|
||||
lazy val scala212 = "2.12.20"
|
||||
lazy val scala213 = "2.13.12"
|
||||
|
||||
ThisBuild / scalaVersion := scala212
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
scalaVersion := "2.12.19"
|
||||
crossScalaVersions := List("2.12.19", "2.13.12")
|
||||
scalaVersion := "2.12.20"
|
||||
crossScalaVersions := List("2.12.20", "2.13.12")
|
||||
|
||||
val setLastModified = taskKey[Unit]("Sets the last modified time for classfiles")
|
||||
setLastModified := {
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
crossScalaVersions := Seq[String]("2.11.12", "2.12.19")
|
||||
crossScalaVersions := Seq[String]("2.11.12", "2.12.20")
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
lazy val external = (project in file("."))
|
||||
.settings(
|
||||
scalaVersion := "2.12.19"
|
||||
scalaVersion := "2.12.20"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
lazy val scala212 = "2.12.19"
|
||||
lazy val scala212 = "2.12.20"
|
||||
lazy val scala213 = "2.13.12"
|
||||
|
||||
ThisBuild / scalaVersion := scala212
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ import Parsers._
|
|||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
crossPaths := false,
|
||||
crossScalaVersions := Seq("2.12.19", "2.13.12"),
|
||||
scalaVersion := "2.12.19",
|
||||
crossScalaVersions := Seq("2.12.20", "2.13.12"),
|
||||
scalaVersion := "2.12.20",
|
||||
Compile / doc / scalacOptions += "-Xfatal-warnings",
|
||||
commands += Command.command("excludeB") { s =>
|
||||
val impl = """val src = (Compile / sources).value; src.filterNot(_.getName.contains("B"))"""
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val buildInfo = taskKey[Seq[File]]("generates the build info")
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
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.19" :: Nil
|
||||
crossScalaVersions := "2.11.12" :: "2.12.20" :: Nil
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
name := "delete-target",
|
||||
scalaVersion := "2.12.19"
|
||||
scalaVersion := "2.12.20"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ lazy val foo = project
|
|||
lazy val bar = project
|
||||
lazy val baz = project
|
||||
.settings(
|
||||
scalaVersion := "2.12.19",
|
||||
scalaVersion := "2.12.20",
|
||||
)
|
||||
|
||||
someTask := {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
name := "my-project"
|
||||
|
||||
scalaVersion := "2.12.19"
|
||||
scalaVersion := "2.12.20"
|
||||
|
||||
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.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
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.19",
|
||||
scalaVersion := "2.12.20",
|
||||
libraryDependencies ++= Seq(
|
||||
"com.typesafe.akka" %% "akka-actor" % "2.5.16",
|
||||
"com.lihaoyi" %% "utest" % "0.6.6" % "test"
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ def wrap[A1](task: InputKey[A1]): Def.Initialize[Task[Unit]] =
|
|||
// ThisBuild / turbo := true
|
||||
|
||||
val root = (project in file(".")).settings(
|
||||
scalaVersion := "2.12.19",
|
||||
scalaVersion := "2.12.20",
|
||||
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.19",
|
||||
scalaVersion := "2.12.20",
|
||||
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.19",
|
||||
scalaVersion := "2.12.20",
|
||||
organization := "sbt",
|
||||
libraryDependencies += "com.typesafe.akka" %% "akka-actor" % "2.5.16",
|
||||
)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ name := "Simple Project"
|
|||
|
||||
version := "1.0"
|
||||
|
||||
scalaVersion := "2.12.19"
|
||||
scalaVersion := "2.12.20"
|
||||
|
||||
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.19",
|
||||
scalaVersion := "2.12.20",
|
||||
libraryDependencies ++= Seq(
|
||||
"com.lihaoyi" %% "utest" % "0.6.6" % "test"
|
||||
),
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
lazy val root = (project in file(".")).
|
||||
settings(
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ val Macro = config("macro").hide.extend(Compile)
|
|||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
scalaVersion := "2.12.19",
|
||||
scalaVersion := "2.12.20",
|
||||
|
||||
// Adds a "macro" configuration for macro dependencies.
|
||||
ivyConfigurations.value += Macro,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
scalaVersion := "2.12.19"
|
||||
scalaVersion := "2.12.20"
|
||||
libraryDependencies ++= Seq(
|
||||
"com.novocode" % "junit-interface" % "0.5" % Test,
|
||||
"junit" % "junit" % "4.13.1" % Test,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
lazy val scala212 = "2.12.19"
|
||||
lazy val scala212 = "2.12.20"
|
||||
lazy val scala213 = "2.13.12"
|
||||
ThisBuild / scalaVersion := scala212
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
scalaVersion := "2.12.19"
|
||||
scalaVersion := "2.12.20"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
scalaVersion := "2.12.19"
|
||||
scalaVersion := "2.12.20"
|
||||
|
||||
libraryDependencies += "org.slf4j" % "slf4j-api" % "1.7.28"
|
||||
updateOptions := updateOptions.value.withCachedResolution(true)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
libraryDependencies ++= Seq(
|
||||
"org.slf4j" % "slf4j-api" % "1.7.2",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
scalaVersion := "2.12.19"
|
||||
scalaVersion := "2.12.20"
|
||||
organization := "org.example"
|
||||
version := "0.1"
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ lazy val checkFull = taskKey[Unit]("")
|
|||
lazy val check = taskKey[Unit]("")
|
||||
lazy val checkArtifact = taskKey[Unit]("")
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
ThisBuild / version := "0.1.0-SNAPSHOT"
|
||||
ThisBuild / organization := "com.example"
|
||||
ThisBuild / organizationName := "example"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import xsbti.AppConfiguration
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
// TTL of Coursier is 24h
|
||||
ThisBuild / csrCacheDirectory := (ThisBuild / baseDirectory).value / "coursier-cache"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
lazy val check = taskKey[Unit]("")
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
libraryDependencies ++= List(
|
||||
"org.webjars.npm" % "randomatic" % "1.1.7",
|
||||
"org.webjars.npm" % "is-odd" % "2.0.0",
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
scalaVersion := "2.12.19"
|
||||
scalaVersion := "2.12.20"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
ThisBuild / organization := "com.example"
|
||||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
ThisBuild / csrCacheDirectory := (ThisBuild / baseDirectory).value / "coursier-cache"
|
||||
|
||||
def localCache =
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
ThisBuild / organization := "com.example"
|
||||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
// TTL is 24h so we can't detect the change
|
||||
ThisBuild / csrCacheDirectory := (ThisBuild / baseDirectory).value / "coursier-cache"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ val check = inputKey[Unit]("Runs the check")
|
|||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
ThisBuild / scalaVersion := "2.12.19",
|
||||
ThisBuild / scalaVersion := "2.12.20",
|
||||
crossJavaVersions := List("1.8"),
|
||||
|
||||
// read out.txt and see if it starts with the passed in number
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ val check = inputKey[Unit]("Runs the check")
|
|||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
ThisBuild / scalaVersion := "2.12.19",
|
||||
ThisBuild / scalaVersion := "2.12.20",
|
||||
crossJavaVersions := List("1.8", "10"),
|
||||
|
||||
// read out.txt and see if it starts with the passed in number
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
lazy val check = taskKey[Unit]("")
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
name := "hello"
|
||||
enablePlugins(JavaAppPackaging)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
scalaVersion := "2.12.19"
|
||||
scalaVersion := "2.12.20"
|
||||
scalacOptions += "-Xfatal-warnings" // required for the test
|
||||
|
||||
enablePlugins(ScalaUnidocPlugin)
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
version := "0.1.0-SNAPSHOT"
|
||||
|
||||
lazy val util = projectMatrix
|
||||
.jvmPlatform(scalaVersions = Seq("2.12.19", "2.13.13"))
|
||||
.jvmPlatform(scalaVersions = Seq("2.12.20", "2.13.13"))
|
||||
|
||||
lazy val root = (projectMatrix in file("."))
|
||||
.dependsOn(util)
|
||||
.jvmPlatform(scalaVersions = Seq("2.12.19"))
|
||||
.jvmPlatform(scalaVersions = Seq("2.12.20"))
|
||||
|
||||
// ss is second system
|
||||
lazy val ss = projectMatrix
|
||||
|
|
@ -13,4 +13,4 @@ lazy val ss = projectMatrix
|
|||
.jvmPlatform(scalaVersions = Seq("2.13.13"))
|
||||
|
||||
lazy val strayJar = project
|
||||
.settings(scalaVersion := "2.12.19")
|
||||
.settings(scalaVersion := "2.12.20")
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
val scala3 = "3.3.3"
|
||||
val scala212 = "2.12.19"
|
||||
val scala212 = "2.12.20"
|
||||
|
||||
organization := "com.example"
|
||||
version := "0.1.0-SNAPSHOT"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
lazy val check = taskKey[Unit]("")
|
||||
|
||||
def scala212 = "2.12.19"
|
||||
def scala212 = "2.12.20"
|
||||
scalaVersion := scala212
|
||||
val o = "com.example"
|
||||
organization := o
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
lazy val check = taskKey[Unit]("")
|
||||
|
||||
def scala212 = "2.12.19"
|
||||
def scala212 = "2.12.20"
|
||||
scalaVersion := scala212
|
||||
val o = "com.example"
|
||||
organization := o
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
name := "projA"
|
||||
|
||||
scalaVersion := "2.12.19"
|
||||
scalaVersion := "2.12.20"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
val baseSbt = "1."
|
||||
|
||||
val buildCrossList = List("2.10.7", "2.11.12", "2.12.19")
|
||||
(ThisBuild / scalaVersion) := "2.12.19"
|
||||
val buildCrossList = List("2.10.7", "2.11.12", "2.12.20")
|
||||
(ThisBuild / scalaVersion) := "2.12.20"
|
||||
(ThisBuild / crossScalaVersions) := buildCrossList
|
||||
|
||||
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.7.0")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val unpackage = TaskKey[Unit]("unpackage")
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
ThisBuild / trackInternalDependencies := TrackLevel.NoTracking
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
lazy val root = project.in(file("."))
|
||||
.enablePlugins(SbtPlugin)
|
||||
.settings(
|
||||
scalaVersion := "2.12.19",
|
||||
scalaVersion := "2.12.20",
|
||||
scalacOptions ++= Seq("-Xfatal-warnings", "-Xlint")
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
lazy val root = project.in(file("."))
|
||||
.settings(
|
||||
scalaVersion := "2.12.19",
|
||||
scalaVersion := "2.12.20",
|
||||
sbtPlugin := true,
|
||||
scalacOptions ++= Seq("-Xfatal-warnings", "-Xlint")
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
ThisBuild / semanticdbEnabled := true
|
||||
ThisBuild / semanticdbIncludeInJar := true
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
import sbt.internal.CommandStrings.{ inspectBrief, inspectDetailed }
|
||||
import sbt.internal.Inspect
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
scalaVersion := "2.12.19"
|
||||
scalaVersion := "2.12.20"
|
||||
|
||||
lazy val sub1 = project
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val scalcheck = "org.scalacheck" %% "scalacheck" % "1.14.0"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
lazy val dep = project
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
scalaVersion := "2.12.19"
|
||||
scalaVersion := "2.12.20"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
val paradiseVersion = "2.1.1"
|
||||
val commonSettings = Seq(
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
val defaultSettings = Seq(
|
||||
libraryDependencies += scalaVersion("org.scala-lang" % "scala-reflect" % _ ).value
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
val defaultSettings = Seq(
|
||||
libraryDependencies += scalaVersion("org.scala-lang" % "scala-reflect" % _ ).value
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
val defaultSettings = Seq(
|
||||
libraryDependencies += scalaVersion("org.scala-lang" % "scala-reflect" % _ ).value
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
val defaultSettings = Seq(
|
||||
libraryDependencies += scalaVersion("org.scala-lang" % "scala-reflect" % _ ).value
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
|
||||
scalaVersion := "2.12.19"
|
||||
scalaVersion := "2.12.20"
|
||||
|
||||
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.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
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.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
libraryDependencies += scalatest % Test
|
||||
libraryDependencies += munit % Test
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import Tests._
|
||||
import Defaults._
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
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.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
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.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
Global / concurrentRestrictions := Seq(Tags.limitAll(4))
|
||||
libraryDependencies += specs % Test
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
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.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
ThisBuild / organization := "org.example"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
|
||||
scalaVersion := "2.12.19"
|
||||
scalaVersion := "2.12.20"
|
||||
fork := true
|
||||
libraryDependencies += scalatest % Test
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
val specs = "org.specs2" %% "specs2-core" % "4.3.4"
|
||||
|
||||
|
|
|
|||
|
|
@ -6,19 +6,19 @@ val checkReport = taskKey[Unit]("Check the test reports")
|
|||
val checkNoReport = taskKey[Unit]("Check that no reports are present")
|
||||
|
||||
val oneSecondReportFile =
|
||||
"target/out/jvm/scala-2.12.19/root/test-reports/TEST-a.pkg.OneSecondTest.xml"
|
||||
"target/out/jvm/scala-2.12.20/root/test-reports/TEST-a.pkg.OneSecondTest.xml"
|
||||
val failingReportFile =
|
||||
"target/out/jvm/scala-2.12.19/root/test-reports/TEST-another.pkg.FailingTest.xml"
|
||||
"target/out/jvm/scala-2.12.20/root/test-reports/TEST-another.pkg.FailingTest.xml"
|
||||
|
||||
val flatSuiteReportFile =
|
||||
"target/out/jvm/scala-2.12.19/root/test-reports/TEST-my.scalatest.MyFlatSuite.xml"
|
||||
"target/out/jvm/scala-2.12.20/root/test-reports/TEST-my.scalatest.MyFlatSuite.xml"
|
||||
val nestedSuitesReportFile =
|
||||
"target/out/jvm/scala-2.12.19/root/test-reports/TEST-my.scalatest.MyNestedSuites.xml"
|
||||
"target/out/jvm/scala-2.12.20/root/test-reports/TEST-my.scalatest.MyNestedSuites.xml"
|
||||
|
||||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
val junitinterface = "com.novocode" % "junit-interface" % "0.11"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
lazy val root = (project in file(".")).settings(
|
||||
libraryDependencies += junitinterface % Test,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
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.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
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.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val scalcheck = "org.scalacheck" %% "scalacheck" % "1.14.0"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
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.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
libraryDependencies += junitinterface % Test
|
||||
libraryDependencies += specsJunit % Test
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
val scalcheck = "org.scalacheck" %% "scalacheck" % "1.14.0"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
Test / parallelExecution := false
|
||||
libraryDependencies += scalcheck % Test
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
scalaVersion := "2.12.19"
|
||||
scalaVersion := "2.12.20"
|
||||
val specs = "org.specs2" %% "specs2-core" % "4.3.4"
|
||||
libraryDependencies += specs % Test
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import sbt.internal.inc.ScalaInstance
|
|||
lazy val OtherScala = config("other-scala").hide
|
||||
lazy val junitinterface = "com.novocode" % "junit-interface" % "0.11"
|
||||
lazy val akkaActor = "com.typesafe.akka" %% "akka-actor" % "2.5.17"
|
||||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.configs(OtherScala)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
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.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
libraryDependencies += scalatest
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
scalaVersion := "2.12.19"
|
||||
scalaVersion := "2.12.20"
|
||||
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.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
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.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
lazy val root = (project in file(".")).
|
||||
settings(
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
scalaVersion := "2.12.19"
|
||||
scalaVersion := "2.12.20"
|
||||
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.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
Global / cacheStores := Seq.empty
|
||||
|
||||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
scalaVersion := "2.12.19"
|
||||
scalaVersion := "2.12.20"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -53,4 +53,4 @@ expectFailure / watchOnFileInputEvent := { (_, e) =>
|
|||
}
|
||||
|
||||
|
||||
crossScalaVersions := Seq("2.11.12", "2.12.19")
|
||||
crossScalaVersions := Seq("2.11.12", "2.12.20")
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ TaskKey[Unit]("willSucceed") := println("success")
|
|||
|
||||
TaskKey[Unit]("willFail") := { throw new Exception("failed") }
|
||||
|
||||
scalaVersion := "2.12.19"
|
||||
scalaVersion := "2.12.20"
|
||||
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.8" % "test"
|
||||
|
||||
TaskKey[Unit]("fooBar") := { () }
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import sbt.internal.server.{ ServerHandler, ServerIntent }
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.19"
|
||||
ThisBuild / scalaVersion := "2.12.20"
|
||||
|
||||
Global / serverLog / logLevel := Level.Debug
|
||||
// custom handler
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ class ResponseTest extends AbstractServerTest {
|
|||
if (!s.contains("systemOut"))
|
||||
println(s)
|
||||
(s contains """"id":"10"""") &&
|
||||
(s contains "scala-library-2.12.19.jar")
|
||||
(s contains "scala-library-2.12.20.jar")
|
||||
})
|
||||
}
|
||||
|
||||
|
|
@ -30,7 +30,7 @@ class ResponseTest extends AbstractServerTest {
|
|||
assert(svr.waitForString(10.seconds) { s =>
|
||||
if (!s.contains("systemOut")) println(s)
|
||||
(s contains """"id":"11"""") &&
|
||||
(s contains "scala-library-2.12.19.jar")
|
||||
(s contains "scala-library-2.12.20.jar")
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue