mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-12-30 20:29:58 +01:00
update scala 3 build setting
This commit is contained in:
18
build.sbt
18
build.sbt
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user