File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ version := "1.0-SNAPSHOT"
6
6
7
7
autoScalaLibrary := false
8
8
9
+ javacOptions ++= Seq (" -Xlint:deprecation" )
10
+
9
11
packageOptions in (Compile , packageBin) += Package .ManifestAttributes (
10
12
" Agent-Class" -> " scalive.Agent"
11
13
)
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ scalaVersion := "2.10.3"
8
8
9
9
scalacOptions ++= Seq (" -deprecation" , " -feature" , " -unchecked" )
10
10
11
+ javacOptions ++= Seq (" -Xlint:deprecation" )
12
+
11
13
// Add tools.jar to classpath
12
14
// https://blogs.oracle.com/CoreJavaTechTips/entry/the_attach_api
13
15
unmanagedJars in Compile := (file(System .getProperty(" java.home" )) / " .." / " lib" * " tools.jar" ).classpath
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ version := "1.0-SNAPSHOT"
6
6
7
7
autoScalaLibrary := false
8
8
9
+ javacOptions ++= Seq (" -Xlint:deprecation" )
10
+
9
11
libraryDependencies <+= scalaVersion { v =>
10
12
" org.scala-lang" % " scala-compiler" % v
11
13
}
You can’t perform that action at this time.
0 commit comments