update scala 3 build setting

This commit is contained in:
kenji yoshida
2023-10-09 10:34:11 +09:00
committed by GitHub
parent 53d955f198
commit 88533c5807

View File

@@ -19,15 +19,6 @@ scalaVersion := "2.13.12"
crossScalaVersions += "3.3.1"
conflictWarning := {
if (scalaBinaryVersion.value == "3") {
// TODO remove this workaround
ConflictWarning("warn", Level.Warn, false)
} else {
conflictWarning.value
}
}
// scalafmtOnCompile := true
coverageExcludedPackages := ".*\\.html\\..*"
@@ -82,15 +73,6 @@ libraryDependencies ++= Seq(
"org.kohsuke" % "github-api" % "1.316" % "test"
)
libraryDependencies ~= {
_.map {
case x if x.name == "twirl-api" =>
x cross CrossVersion.for3Use2_13
case x =>
x
}
}
// Compiler settings
scalacOptions := Seq(
"-deprecation",