mirror of https://github.com/sbt/sbt.git
bump Scala 2.11 to 2.11.12 because we use JDK 11
This commit is contained in:
parent
24db77edc5
commit
258a8930a5
|
|
@ -1,4 +1,4 @@
|
|||
scalaVersion := "2.11.8"
|
||||
ThisBuild / scalaVersion := "2.11.12"
|
||||
|
||||
libraryDependencies += ("com.rengwuxian.materialedittext" % "library" % "2.1.4")
|
||||
.exclude("com.android.support", "support-v4")
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ lazy val check = taskKey[Unit]("Runs the check")
|
|||
def commonSettings: Seq[Def.Setting[_]] =
|
||||
Seq(
|
||||
ivyPaths := IvyPaths( (baseDirectory in ThisBuild).value, Some((target in LocalRootProject).value / "ivy-cache")),
|
||||
scalaVersion in ThisBuild := "2.11.7",
|
||||
scalaVersion in ThisBuild := "2.11.12",
|
||||
organization in ThisBuild := "com.example",
|
||||
version in ThisBuild := "0.1.0-SNAPSHOT",
|
||||
autoScalaLibrary := false,
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
scalaVersion := "2.11.8"
|
||||
ThisBuild / scalaVersion := "2.11.12"
|
||||
libraryDependencies += "org.jclouds.api" % "nova" % "1.5.9" classifier "tests"
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
ThisBuild / scalaVersion := "2.12.6"
|
||||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
lazy val check = taskKey[Unit]("")
|
||||
|
||||
// We can't use "%%" here without breaking the "== bridgeModule" check below
|
||||
val bridgeModule = "org.scala-sbt" % s"compiler-bridge_2.12" % "1.2.1"
|
||||
val bridgeModule = "org.scala-sbt" % s"compiler-bridge_2.12" % "1.3.0-M3"
|
||||
|
||||
libraryDependencies += bridgeModule % Configurations.ScalaTool
|
||||
|
||||
|
|
|
|||
|
|
@ -9,14 +9,14 @@ val repatchTwitter = "com.eed3si9n" %% "repatch-twitter-core" % "dispatch0.11.1_
|
|||
|
||||
lazy val a = (project in file("a")).
|
||||
settings(
|
||||
scalaVersion := "2.11.4",
|
||||
scalaVersion := "2.11.12",
|
||||
libraryDependencies += dispatch,
|
||||
excludeDependencies += "org.slf4j"
|
||||
)
|
||||
|
||||
lazy val b = (project in file("b")).
|
||||
settings(
|
||||
scalaVersion := "2.11.4",
|
||||
scalaVersion := "2.11.12",
|
||||
libraryDependencies += repatchTwitter,
|
||||
excludeDependencies += "net.databinder.dispatch" %% "dispatch-core"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
scalaVersion := "2.11.8"
|
||||
ThisBuild / scalaVersion := "2.11.12"
|
||||
|
||||
organization := "io.get-coursier.test"
|
||||
name := "sbt-coursier-exclude-dependencies"
|
||||
|
|
|
|||
|
|
@ -1,20 +1,13 @@
|
|||
ThisBuild / scalaVersion := "2.11.12"
|
||||
|
||||
lazy val a = project
|
||||
.settings(sharedSettings)
|
||||
.settings(
|
||||
libraryDependencies += "com.chuusai" %% "shapeless" % "2.3.234" from "https://oss.sonatype.org/content/repositories/releases/com/chuusai/shapeless_2.11/2.3.1/shapeless_2.11-2.3.1.jar"
|
||||
)
|
||||
|
||||
lazy val b = project
|
||||
.dependsOn(a)
|
||||
.settings(sharedSettings)
|
||||
|
||||
lazy val root = project
|
||||
.in(file("."))
|
||||
.aggregate(a, b)
|
||||
.settings(sharedSettings)
|
||||
|
||||
|
||||
lazy val sharedSettings = Seq(
|
||||
scalaVersion := "2.11.8"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
scalaVersion := "2.11.8"
|
||||
ThisBuild / scalaVersion := "2.11.12"
|
||||
|
||||
libraryDependencies += "org.apache.hadoop" % "hadoop-yarn-server-resourcemanager" % "2.7.1"
|
||||
|
|
|
|||
|
|
@ -1,13 +1,12 @@
|
|||
ThisBuild / scalaVersion := "2.11.12"
|
||||
|
||||
lazy val a = project
|
||||
.settings(sharedSettings)
|
||||
.settings(
|
||||
resolvers += "Scalaz Bintray Repo" at "https://dl.bintray.com/scalaz/releases"
|
||||
)
|
||||
|
||||
lazy val b = project
|
||||
.dependsOn(a)
|
||||
.settings(sharedSettings)
|
||||
.settings(
|
||||
// resolver added in inter-project dependency only - should still be fine
|
||||
libraryDependencies += "org.scalaz.stream" %% "scalaz-stream" % "0.7.1a"
|
||||
|
|
@ -16,9 +15,3 @@ lazy val b = project
|
|||
lazy val root = project
|
||||
.in(file("."))
|
||||
.aggregate(a, b)
|
||||
.settings(sharedSettings)
|
||||
|
||||
|
||||
lazy val sharedSettings = Seq(
|
||||
scalaVersion := "2.11.8"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,11 +1,7 @@
|
|||
|
||||
lazy val sharedSettings = Seq(
|
||||
scalaVersion := "2.11.8"
|
||||
)
|
||||
ThisBuild / scalaVersion := "2.11.12"
|
||||
|
||||
/** Module with the same Maven coordinates as shapeless 2.3.1 */
|
||||
lazy val `shapeless-mock` = project
|
||||
.settings(sharedSettings)
|
||||
.settings(
|
||||
organization := "com.chuusai",
|
||||
name := "shapeless",
|
||||
|
|
@ -13,7 +9,6 @@ lazy val `shapeless-mock` = project
|
|||
)
|
||||
|
||||
lazy val a = project
|
||||
.settings(sharedSettings)
|
||||
.settings(
|
||||
organization := "com.pany",
|
||||
name := "a",
|
||||
|
|
@ -23,7 +18,6 @@ lazy val a = project
|
|||
/** Transitively depends on the - real - shapeless 2.3.1 */
|
||||
lazy val b = project
|
||||
.dependsOn(a)
|
||||
.settings(sharedSettings)
|
||||
.settings(
|
||||
organization := "com.pany",
|
||||
name := "b",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "2.11.8"
|
||||
ThisBuild / scalaVersion := "2.11.12"
|
||||
|
||||
Compile / classLoaderLayeringStrategy := ClassLoaderLayeringStrategy.Flat
|
||||
libraryDependencies += "org.apache.spark" %% "spark-sql" % "1.6.2"
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ scalaOrganization := "org.other"
|
|||
|
||||
scalaArtifacts += "thing"
|
||||
|
||||
scalaVersion := "2.11.8"
|
||||
ThisBuild / scalaVersion := "2.11.12"
|
||||
|
||||
libraryDependencies ++= Seq(
|
||||
"org.other" % "thing" % "1.2.3",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// https://github.com/sbt/sbt/issues/1818
|
||||
|
||||
scalaVersion := "2.11.5"
|
||||
ThisBuild / scalaVersion := "2.11.12"
|
||||
libraryDependencies += "org.scala-lang" %% "scala-actors-migration" % "1.1.0"
|
||||
libraryDependencies += "org.scala-lang" %% "scala-pickling" % "0.9.1"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
ThisBuild / scalaVersion := "2.11.12"
|
||||
|
||||
organization := "com.test"
|
||||
name := "maven-version-range-bug"
|
||||
version := "1.0.0-SNAPSHOT"
|
||||
scalaVersion := "2.11.6"
|
||||
libraryDependencies += "com.amazonaws" % "aws-java-sdk" % "1.7.8.1"
|
||||
libraryDependencies += "com.amazonaws" % "aws-java-sdk" % "1.7.8.1"
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
scalaOrganization := "org.typelevel"
|
||||
scalaVersion := "2.11.7"
|
||||
scalacOptions += "-Xexperimental"
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
import java.io.File
|
||||
import java.nio.file.Files
|
||||
|
||||
object Main extends App {
|
||||
val n': 2.type = 2
|
||||
|
||||
Files.write(new File("output").toPath, "OK".getBytes("UTF-8"))
|
||||
}
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
$ delete output
|
||||
> run
|
||||
$ exists output
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
scalaVersion := "2.11.11"
|
||||
ThisBuild / scalaVersion := "2.11.12"
|
||||
|
||||
ivyConfiguration := {
|
||||
throw new RuntimeException("updateSbtClassifiers should use updateSbtClassifiers / ivyConfiguration")
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
scalaVersion := "2.11.8"
|
||||
ThisBuild / scalaVersion := "2.11.12"
|
||||
|
||||
libraryDependencies += "ccl.northwestern.edu" % "netlogo" % "5.3.1" % "provided" from s"https://github.com/NetLogo/NetLogo/releases/download/5.3.1/NetLogo.jar"
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.3.3")
|
||||
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.3.20")
|
||||
|
|
|
|||
Loading…
Reference in New Issue