mirror of https://github.com/sbt/sbt.git
Scala 3.7.3
This commit is contained in:
parent
451c59e34d
commit
64357d7e2a
|
|
@ -3,7 +3,7 @@ lazy val check2 = taskKey[Unit]("")
|
||||||
|
|
||||||
lazy val root = (project in file("."))
|
lazy val root = (project in file("."))
|
||||||
.settings(
|
.settings(
|
||||||
scalaVersion := "3.7.2",
|
scalaVersion := "3.7.3",
|
||||||
name := "Hello",
|
name := "Hello",
|
||||||
libraryDependencies += "com.eed3si9n.verify" %% "verify" % "1.0.0" % Test,
|
libraryDependencies += "com.eed3si9n.verify" %% "verify" % "1.0.0" % Test,
|
||||||
testFrameworks += new TestFramework("verify.runner.Framework"),
|
testFrameworks += new TestFramework("verify.runner.Framework"),
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import Keys.*
|
||||||
object Dependencies {
|
object Dependencies {
|
||||||
// WARNING: Please Scala update versions in PluginCross.scala too
|
// WARNING: Please Scala update versions in PluginCross.scala too
|
||||||
val scala213 = "2.13.16"
|
val scala213 = "2.13.16"
|
||||||
val scala3 = "3.7.2"
|
val scala3 = "3.7.3"
|
||||||
val checkPluginCross = settingKey[Unit]("Make sure scalaVersion match up")
|
val checkPluginCross = settingKey[Unit]("Make sure scalaVersion match up")
|
||||||
val baseScalaVersion = scala3
|
val baseScalaVersion = scala3
|
||||||
def nightlyVersion: Option[String] =
|
def nightlyVersion: Option[String] =
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import complete.Parser
|
||||||
val runFoo = inputKey[Unit]("Runs Foo with passed arguments")
|
val runFoo = inputKey[Unit]("Runs Foo with passed arguments")
|
||||||
val check = taskKey[Unit]("")
|
val check = taskKey[Unit]("")
|
||||||
|
|
||||||
scalaVersion := "3.7.2"
|
scalaVersion := "3.7.3"
|
||||||
|
|
||||||
lazy val root = (project in file(".")).
|
lazy val root = (project in file(".")).
|
||||||
settings(
|
settings(
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ lazy val checkMiss = inputKey[Unit]("")
|
||||||
|
|
||||||
Global / localCacheDirectory := baseDirectory.value / "diskcache"
|
Global / localCacheDirectory := baseDirectory.value / "diskcache"
|
||||||
|
|
||||||
scalaVersion := "3.7.2"
|
scalaVersion := "3.7.3"
|
||||||
checkMiss := {
|
checkMiss := {
|
||||||
val expected: Int = (Space ~> NatBasic).parsed
|
val expected: Int = (Space ~> NatBasic).parsed
|
||||||
val s = streams.value
|
val s = streams.value
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ lazy val verify = "com.eed3si9n.verify" %% "verify" % "1.0.0"
|
||||||
|
|
||||||
Global / localCacheDirectory := baseDirectory.value / "diskcache"
|
Global / localCacheDirectory := baseDirectory.value / "diskcache"
|
||||||
|
|
||||||
scalaVersion := "3.7.2"
|
scalaVersion := "3.7.3"
|
||||||
libraryDependencies += verify % Test
|
libraryDependencies += verify % Test
|
||||||
testFrameworks += new TestFramework("verify.runner.Framework")
|
testFrameworks += new TestFramework("verify.runner.Framework")
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
scalaVersion := "3.7.2"
|
scalaVersion := "3.7.3"
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
// addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.3.1")
|
// addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.3.1")
|
||||||
libraryDependencies += Defaults.sbtPluginExtra("com.github.sbt" % "sbt-pgp" % "2.3.1", "2", "3.7.2")
|
libraryDependencies += Defaults.sbtPluginExtra("com.github.sbt" % "sbt-pgp" % "2.3.1", "2", "3.7.3")
|
||||||
|
|
|
||||||
|
|
@ -19,4 +19,4 @@ lazy val plugin = (projectMatrix in file("plugin"))
|
||||||
case _ => "2.0.0-RC3"
|
case _ => "2.0.0-RC3"
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
.jvmPlatform(scalaVersions = Seq("3.7.2", "2.12.20"))
|
.jvmPlatform(scalaVersions = Seq("3.7.3", "2.12.20"))
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
lazy val a1 = settingKey[Boolean]("")
|
lazy val a1 = settingKey[Boolean]("")
|
||||||
|
|
||||||
scalaVersion := "3.7.2"
|
scalaVersion := "3.7.3"
|
||||||
a1 := true
|
a1 := true
|
||||||
|
|
||||||
Compile / sourceGenerators += {
|
Compile / sourceGenerators += {
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ lazy val intsSetting2 = Def.setting {
|
||||||
Seq(1, 2, 3)
|
Seq(1, 2, 3)
|
||||||
}
|
}
|
||||||
|
|
||||||
scalaVersion := "3.7.2"
|
scalaVersion := "3.7.3"
|
||||||
|
|
||||||
intsTask := Seq(1, 2, 3, 4, 5, 6, 7)
|
intsTask := Seq(1, 2, 3, 4, 5, 6, 7)
|
||||||
intsTask -= 3
|
intsTask -= 3
|
||||||
|
|
@ -30,10 +30,10 @@ intsSetting -= intSetting2.value
|
||||||
intsSetting --= intsSetting2.value
|
intsSetting --= intsSetting2.value
|
||||||
|
|
||||||
intsFromScalaV := Seq(1, 2, 3, 4, 5, 6, 7)
|
intsFromScalaV := Seq(1, 2, 3, 4, 5, 6, 7)
|
||||||
intsFromScalaV -= { if scalaVersion.value == "3.7.2" then 3 else 5 }
|
intsFromScalaV -= { if scalaVersion.value == "3.7.3" then 3 else 5 }
|
||||||
intsFromScalaV --= { if scalaVersion.value == "3.7.2" then Seq(1, 2) else Seq(4) }
|
intsFromScalaV --= { if scalaVersion.value == "3.7.3" then Seq(1, 2) else Seq(4) }
|
||||||
intsFromScalaV -= { if scalaVersion.value == "3.7.2" then Option(6) else None }
|
intsFromScalaV -= { if scalaVersion.value == "3.7.3" then Option(6) else None }
|
||||||
intsFromScalaV --= { if scalaVersion.value == "3.7.2" then Option(7) else None }
|
intsFromScalaV --= { if scalaVersion.value == "3.7.3" then Option(7) else None }
|
||||||
|
|
||||||
intsSetSetting := Set(1, 2, 3, 4, 5, 6, 7)
|
intsSetSetting := Set(1, 2, 3, 4, 5, 6, 7)
|
||||||
intsSetSetting -= 3
|
intsSetSetting -= 3
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
val scalatest = "org.scalatest" %% "scalatest" % "3.2.19"
|
val scalatest = "org.scalatest" %% "scalatest" % "3.2.19"
|
||||||
|
|
||||||
scalaVersion := "3.7.2"
|
scalaVersion := "3.7.3"
|
||||||
fork := true
|
fork := true
|
||||||
libraryDependencies += scalatest % Test
|
libraryDependencies += scalatest % Test
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
scalaVersion := "3.7.2"
|
scalaVersion := "3.7.3"
|
||||||
libraryDependencies += "com.eed3si9n.verify" %% "verify" % "1.0.0" % Test
|
libraryDependencies += "com.eed3si9n.verify" %% "verify" % "1.0.0" % Test
|
||||||
testFrameworks += new TestFramework("verify.runner.Framework")
|
testFrameworks += new TestFramework("verify.runner.Framework")
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ val marker = new File("marker")
|
||||||
val check = TaskKey[Unit]("check", "Check correct error has been returned.")
|
val check = TaskKey[Unit]("check", "Check correct error has been returned.")
|
||||||
val scalatest = "org.scalatest" %% "scalatest" % "3.2.19"
|
val scalatest = "org.scalatest" %% "scalatest" % "3.2.19"
|
||||||
|
|
||||||
ThisBuild / scalaVersion := "3.7.2"
|
ThisBuild / scalaVersion := "3.7.3"
|
||||||
|
|
||||||
lazy val root = (project in file(".")).
|
lazy val root = (project in file(".")).
|
||||||
settings(
|
settings(
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
scalaVersion := "3.7.2"
|
scalaVersion := "3.7.3"
|
||||||
|
|
||||||
TaskKey[Unit]("willSucceed") := println("success")
|
TaskKey[Unit]("willSucceed") := println("success")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue