Commit 72d0379 1 parent 42dcb6e commit 72d0379 Copy full SHA for 72d0379
File tree 3 files changed +5
-4
lines changed
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ libraryDependencies ++= List(
45
45
lazy val scala212 = " 2.12.20" // bin/test-release.sh
46
46
lazy val scala3 = " 3.6.4" // bin/test-release.sh & .github/workflows/ci.yml
47
47
48
- scalaVersion := scala212
48
+ scalaVersion := scala3
49
49
crossScalaVersions := Seq (scala212, scala3)
50
50
51
51
// keep this as low as possible to avoid running into binary incompatibility such as https://github.com/sbt/sbt/issues/5049
@@ -74,6 +74,7 @@ scalacOptions ++= {
74
74
scalaBinaryVersion.value match {
75
75
case " 2.12" =>
76
76
List (
77
+ " -Xsource:3" ,
77
78
" -Ywarn-unused" ,
78
79
" -Xlint" ,
79
80
" -Xfatal-warnings"
Original file line number Diff line number Diff line change 1
- sbt.version =1.10.7
1
+ sbt.version =2.0.0-M4
Original file line number Diff line number Diff line change 1
1
resolvers ++= Resolver .sonatypeOssRepos(" public" )
2
- addSbtPlugin(" com.github.sbt" % " sbt-ci-release" % " 1.9.2" )
2
+ // addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.9.2")
3
3
4
4
// dogfooding
5
5
Compile / unmanagedSourceDirectories ++= {
6
6
val root = (ThisBuild / baseDirectory).value.getParentFile / " src" / " main"
7
7
List (
8
8
root / " scala" ,
9
- root / " scala-2.12 "
9
+ root / " scala-3 "
10
10
)
11
11
}
12
12
libraryDependencies ++= Dependencies .all
You can’t perform that action at this time.
0 commit comments