mirror of https://github.com/sbt/sbt.git
commit
68a966178a
|
|
@ -96,7 +96,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.9"
|
||||
case VersionNumber(Seq(1, 0, _*), _, _) => "2.12.8"
|
||||
case _ => sys.error(s"Unsupported sbt binary version: $sv")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import sbt.contraband.ContrabandPlugin.autoImport._
|
|||
|
||||
object Dependencies {
|
||||
// WARNING: Please Scala update versions in PluginCross.scala too
|
||||
val scala212 = "2.12.9"
|
||||
val scala212 = "2.12.8"
|
||||
lazy val checkPluginCross = settingKey[Unit]("Make sure scalaVersion match up")
|
||||
val baseScalaVersion = scala212
|
||||
def nightlyVersion: Option[String] = sys.props.get("sbt.build.version")
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
scalaVersion := "2.12.9"
|
||||
scalaVersion := "2.12.8"
|
||||
scalacOptions ++= Seq("-feature", "-language:postfixOps")
|
||||
|
||||
addSbtPlugin("org.scala-sbt" % "sbt-houserules" % "0.3.9")
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
crossScalaVersions := Seq[String]("2.11.12", "2.12.9")
|
||||
crossScalaVersions := Seq[String]("2.11.12", "2.12.8")
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
> ++2.11.12; compile
|
||||
|
||||
> ++ 2.12.9 ; compile;
|
||||
> ++ 2.12.8 ; compile;
|
||||
|
||||
> ++ 2.12.9 ; compile
|
||||
> ++ 2.12.8 ; compile
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
lazy val scala212 = "2.12.9"
|
||||
lazy val scala212 = "2.12.8"
|
||||
lazy val scala213 = "2.13.0-M5"
|
||||
|
||||
ThisBuild / crossScalaVersions := Seq(scala212, scala213)
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ $ exists lib/target/scala-2.13.0-M5
|
|||
|
||||
# test safe switching
|
||||
> clean
|
||||
> ++ 2.12.9 -v compile
|
||||
> ++ 2.12.8 -v compile
|
||||
$ exists lib/target/scala-2.12
|
||||
-$ exists lib/target/scala-2.13.0-M5
|
||||
$ exists sbt-foo/target/scala-2.12
|
||||
|
|
@ -29,7 +29,7 @@ $ exists sbt-foo/target/scala-2.12
|
|||
|
||||
# Test ++ leaves crossScalaVersions unchanged
|
||||
> clean
|
||||
> ++2.12.9
|
||||
> ++2.12.8
|
||||
> +extrasProj/compile
|
||||
$ exists extras/target/scala-2.13.0-M5
|
||||
$ exists extras/target/scala-2.12
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
lazy val scala212 = "2.12.9"
|
||||
lazy val scala212 = "2.12.8"
|
||||
lazy val scala213 = "2.13.0-M5"
|
||||
|
||||
ThisBuild / scalaVersion := scala212
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ val newContents = "bbbbbbbbb"
|
|||
|
||||
val rootContentFile = "root.txt"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ val bResolver = Def.setting {
|
|||
|
||||
val apiBaseSetting = apiURL := Some(apiBase(name.value))
|
||||
def apiBase(projectName: String) = url(s"http://example.org/${projectName}")
|
||||
def scalaLibraryBase(v: String) = url(s"https://www.scala-lang.org/api/$v/")
|
||||
def scalaLibraryBase(v: String) = url(s"http://www.scala-lang.org/api/$v/")
|
||||
def addDep(projectName: String) =
|
||||
libraryDependencies += organization.value %% projectName % version.value
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val buildInfo = taskKey[Seq[File]]("generates the build info")
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
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.9" :: Nil
|
||||
crossScalaVersions := "2.11.12" :: "2.12.8" :: Nil
|
||||
|
|
|
|||
|
|
@ -37,4 +37,4 @@
|
|||
|
||||
> ++ 2.11.12 compile; setStringValue bar; checkStringValue bar
|
||||
|
||||
> ++2.12.9 compile; setStringValue foo; checkStringValue foo
|
||||
> ++2.12.8 compile; setStringValue foo; checkStringValue foo
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ ThisBuild / turbo := true
|
|||
|
||||
val akkaTest = (project in file(".")).settings(
|
||||
name := "akka-test",
|
||||
scalaVersion := "2.12.9",
|
||||
scalaVersion := "2.12.8",
|
||||
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.9",
|
||||
scalaVersion := "2.12.8",
|
||||
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.9",
|
||||
scalaVersion := "2.12.8",
|
||||
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,
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
a8097b962cbbb571790a66eacd6aad63
|
||||
9bab3dca3e061fdbbff2419ef0eee90d
|
||||
|
|
@ -1 +1 @@
|
|||
fe2367a00aca8d74b84c162970f9d3459b0c26a7
|
||||
11081018ca6824226893b153fe439d3a94e23286
|
||||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
5f1dd4f0a53a9f13f87a590dac9cdb96
|
||||
afba811024a110dc47734c6d9ec0eb5b
|
||||
|
|
@ -1 +1 @@
|
|||
f77a76d6cb8c9f0850b315e2239d62d8891f86c2
|
||||
e4e1b37d77060a77ab20c508df90cdae6125f3bc
|
||||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
a47aa278478d014cbbc716e271a47eda
|
||||
6de1cfe8548a007ac08763ab5f051e08
|
||||
|
|
@ -1 +1 @@
|
|||
df349758a22fc5fc291e902239dbcd6b2d0b9c69
|
||||
f25267dfe760e734ea4f8a00b8dc6ace477589d6
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
val layeringStrategyTest = (project in file(".")).settings(
|
||||
name := "layering-strategy-test",
|
||||
scalaVersion := "2.12.9",
|
||||
scalaVersion := "2.12.8",
|
||||
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.9",
|
||||
scalaVersion := "2.12.8",
|
||||
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.9</version>
|
||||
<version>2.12.8</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
<dependency>
|
||||
<groupId>org.scala-lang</groupId>
|
||||
<artifactId>scala-library</artifactId>
|
||||
<version>2.12.9</version>
|
||||
<version>2.12.8</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
|
@ -2,6 +2,6 @@ name := "Simple Project"
|
|||
|
||||
version := "1.0"
|
||||
|
||||
scalaVersion := "2.12.9"
|
||||
scalaVersion := "2.12.8"
|
||||
|
||||
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.9",
|
||||
scalaVersion := "2.12.8",
|
||||
libraryDependencies ++= Seq(
|
||||
"com.lihaoyi" %% "utest" % "0.6.6" % "test"
|
||||
),
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
lazy val root = (project in file(".")).
|
||||
settings(
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
lazy val scala212 = "2.12.9"
|
||||
lazy val scala212 = "2.12.8"
|
||||
lazy val scala213 = "2.13.0-M5"
|
||||
ThisBuild / scalaVersion := scala212
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
// 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.11"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
def commonSettings: Seq[Def.Setting[_]] =
|
||||
Seq(
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
lazy val check = taskKey[Unit]("")
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
scalaVersion := "2.12.9"
|
||||
scalaVersion := "2.12.8"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
ThisBuild / organization := "com.example"
|
||||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
def customIvyPaths: Seq[Def.Setting[_]] = Seq(
|
||||
ivyPaths := IvyPaths((baseDirectory in ThisBuild).value, Some((baseDirectory in ThisBuild).value / "ivy-cache"))
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
ThisBuild / organization := "com.example"
|
||||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
// TTL is 24h so we can't detect the change
|
||||
ThisBuild / useCoursier := false
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
// ThisBuild / useCoursier := false
|
||||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
@ -13,15 +13,14 @@ def checkSources(report: UpdateReport): Unit = {
|
|||
val srcs = getSources(report).map(_.getName)
|
||||
if(srcs.isEmpty)
|
||||
sys.error(s"No sources retrieved\n\n$report")
|
||||
else if (srcs.size != 9 || !srcs.exists(_ == "akka-actor_2.12-2.5.22-sources.jar")) {
|
||||
// scala-library-2.12.9-sources.jar
|
||||
// scala-java8-compat_2.12-0.8.0-sources.jar
|
||||
else if (srcs.size != 8 || !srcs.exists(_ == "akka-actor_2.12-2.5.22-sources.jar")) {
|
||||
// scala-library-2.12.8-sources.jar
|
||||
// config-1.3.3-sources.jar
|
||||
// akka-actor_2.12-2.5.22-sources.jar
|
||||
// scala-java8-compat_2.12-0.8.0-sources.jar
|
||||
// scala-xml_2.12-1.0.6-sources.jar
|
||||
// scala-compiler-2.12.9-sources.jar
|
||||
// scala-reflect-2.12.9-sources.jar
|
||||
// scala-compiler-2.12.8-sources.jar
|
||||
// scala-reflect-2.12.8-sources.jar
|
||||
// jline-2.14.6-sources.jar
|
||||
sys.error("Incorrect sources retrieved:\n\t" + srcs.mkString("\n\t"))
|
||||
} else ()
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
lazy val check = taskKey[Unit]("")
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
name := "hello"
|
||||
enablePlugins(JavaAppPackaging)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
name := "projA"
|
||||
|
||||
scalaVersion := "2.12.9"
|
||||
scalaVersion := "2.12.8"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
val baseSbt = "1."
|
||||
|
||||
val buildCrossList = List("2.10.7", "2.11.12", "2.12.9")
|
||||
scalaVersion in ThisBuild := "2.12.9"
|
||||
val buildCrossList = List("2.10.7", "2.11.12", "2.12.8")
|
||||
scalaVersion in ThisBuild := "2.12.8"
|
||||
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.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
ThisBuild / trackInternalDependencies := TrackLevel.NoTracking
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val scalcheck = "org.scalacheck" %% "scalacheck" % "1.14.0"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
lazy val dep = project
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
# A.scala needs B.scala, it would be in source list
|
||||
> ++2.12.9!
|
||||
> ++2.12.8!
|
||||
> compile
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
val paradiseVersion = "2.1.1"
|
||||
val commonSettings = Seq(
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
val defaultSettings = Seq(
|
||||
libraryDependencies += scalaVersion("org.scala-lang" % "scala-reflect" % _ ).value
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
val defaultSettings = Seq(
|
||||
libraryDependencies += scalaVersion("org.scala-lang" % "scala-reflect" % _ ).value
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
val defaultSettings = Seq(
|
||||
libraryDependencies += scalaVersion("org.scala-lang" % "scala-reflect" % _ ).value
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
val defaultSettings = Seq(
|
||||
libraryDependencies += scalaVersion("org.scala-lang" % "scala-reflect" % _ ).value
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import Tests._
|
||||
import Defaults._
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
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.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
Global / concurrentRestrictions := Seq(Tags.limitAll(4))
|
||||
libraryDependencies += specs % Test
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
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.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
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.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
fork := true
|
||||
libraryDependencies += scalatest % Test
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
val specs = "org.specs2" %% "specs2-core" % "4.3.4"
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ val nestedSuitesReportFile = "target/test-reports/my.scalatest.MyNestedSuites.xm
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
val junitinterface = "com.novocode" % "junit-interface" % "0.11"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
lazy val root = (project in file(".")).
|
||||
settings(
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
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.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val scalcheck = "org.scalacheck" %% "scalacheck" % "1.14.0"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
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.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
libraryDependencies += junitinterface % Test
|
||||
libraryDependencies += specsJunit % Test
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
val scalcheck = "org.scalacheck" %% "scalacheck" % "1.14.0"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
Test / parallelExecution := false
|
||||
libraryDependencies += scalcheck % Test
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
val specs = "org.specs2" %% "specs2-core" % "4.3.4"
|
||||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
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.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.configs(OtherScala)
|
||||
|
|
@ -18,7 +18,7 @@ lazy val root = (project in file("."))
|
|||
val rawJars = (managedClasspath in OtherScala).value.map(_.data)
|
||||
val scalaHome = (target.value / "scala-home")
|
||||
def removeVersion(name: String): String =
|
||||
name.replaceAll("\\-2.12.9", "")
|
||||
name.replaceAll("\\-2.12.8", "")
|
||||
for(jar <- rawJars) {
|
||||
val tjar = scalaHome / s"lib/${removeVersion(jar.getName)}"
|
||||
IO.copyFile(jar, tjar)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
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.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
libraryDependencies += scalatest
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
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.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
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.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
lazy val root = (project in file(".")).
|
||||
settings(
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
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.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
val scalaxml = "org.scala-lang.modules" %% "scala-xml" % "1.1.1"
|
||||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
|
|
@ -53,4 +53,4 @@ expectFailure / watchOnFileInputEvent := { (_, e) =>
|
|||
}
|
||||
|
||||
|
||||
crossScalaVersions := Seq("2.11.12", "2.12.9")
|
||||
crossScalaVersions := Seq("2.11.12", "2.12.8")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import sbt.internal.server.{ ServerHandler, ServerIntent }
|
||||
|
||||
ThisBuild / scalaVersion := "2.12.9"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
|
|
|
|||
Loading…
Reference in New Issue