From 92d7520f7bc5a16ad0f2b17b0dcac5a89e995fce Mon Sep 17 00:00:00 2001 From: "Paolo G. Giarrusso" Date: Mon, 7 Jan 2013 21:24:09 +0100 Subject: [PATCH] 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. --- project/Util.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/project/Util.scala b/project/Util.scala index d66ff1fe7..747fb80c5 100644 --- a/project/Util.scala +++ b/project/Util.scala @@ -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(