mirror of https://github.com/sbt/sbt.git
Revert "fix: Remove -Wconf:cat=unused-nowarn:s"
This reverts commit 56e83977e9.
This commit is contained in:
parent
c4e4a6dbb5
commit
1de603fb2f
|
|
@ -1002,6 +1002,15 @@ object Defaults extends BuildCommon {
|
|||
)
|
||||
else Def.uncached(old)
|
||||
},
|
||||
scalacOptions := {
|
||||
val old = scalacOptions.value
|
||||
if (
|
||||
sbtPlugin.value && VersionNumber(scalaVersion.value)
|
||||
.matchesSemVer(SemanticSelector("=2.12 >=2.12.13"))
|
||||
)
|
||||
old ++ Seq("-Wconf:cat=unused-nowarn:s", "-Xsource:3")
|
||||
else old
|
||||
},
|
||||
persistJarClasspath :== true,
|
||||
classpathEntryDefinesClassVF := Def.uncached {
|
||||
val cache =
|
||||
|
|
|
|||
Loading…
Reference in New Issue