We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-Xsource:3
1 parent 792959a commit 4c44d8eCopy full SHA for 4c44d8e
build.sbt
@@ -71,6 +71,17 @@ lazy val core = (project in file("core")).settings(
71
),
72
sbtPlugin := false,
73
Global / transitiveClassifiers := Seq(Artifact.SourceClassifier),
74
+ scalacOptions ++= {
75
+ CrossVersion.partialVersion(scalaVersion.value) match {
76
+ case Some((2, _)) =>
77
+ Seq(
78
+ "-Wconf:msg=package object inheritance:warning", // TODO
79
+ "-Xsource:3",
80
+ )
81
+ case _ =>
82
+ Nil
83
+ }
84
+ },
85
scalacOptions ++= Seq(
86
"-deprecation",
87
"-unchecked",
0 commit comments