mirror of https://github.com/sbt/sbt.git
Silence boring Eclipse warnings: feature warnings - take #2
Silencing boring warnings allows seeing the interesting ones. Here I've excluded reflectiveCalls, since that's a useful warning. However, silencing those warnings in *Eclipse* would require committing Eclipse projects, something which *will* take extra effort; I verified that the warnings disappeared from the output of compilation in SBT.
This commit is contained in:
parent
d64a0e078d
commit
92d7520f7b
|
|
@ -28,7 +28,8 @@ object Util
|
|||
def testedBaseProject(path: File, nameString: String) = baseProject(path, nameString) settings(includeTestDependencies := true, testDependencies)
|
||||
|
||||
lazy val javaOnly = Seq[Setting[_]](/*crossPaths := false, */compileOrder := CompileOrder.JavaThenScala, unmanagedSourceDirectories in Compile <<= Seq(javaSource in Compile).join)
|
||||
lazy val base: Seq[Setting[_]] = Seq(scalacOptions ++= Seq("-Xelide-below", "0"), projectComponent) ++ Licensed.settings
|
||||
lazy val base: Seq[Setting[_]] = Seq(scalacOptions ++= Seq("-Xelide-below", "0", "-feature", "-language:implicitConversions", "-language:postfixOps",
|
||||
"-language:higherKinds", "-language:existentials"), projectComponent) ++ Licensed.settings
|
||||
|
||||
def testDependencies = libraryDependencies <++= includeTestDependencies { incl =>
|
||||
if(incl) Seq(
|
||||
|
|
|
|||
Loading…
Reference in New Issue