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"
66
77autoScalaLibrary := false
88
9+ javacOptions ++= Seq (" -Xlint:deprecation" )
10+
911packageOptions in (Compile , packageBin) += Package .ManifestAttributes (
1012 " Agent-Class" -> " scalive.Agent"
1113)
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ scalaVersion := "2.10.3"
88
99scalacOptions ++= Seq (" -deprecation" , " -feature" , " -unchecked" )
1010
11+ javacOptions ++= Seq (" -Xlint:deprecation" )
12+
1113// Add tools.jar to classpath
1214// https://blogs.oracle.com/CoreJavaTechTips/entry/the_attach_api
1315unmanagedJars 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"
66
77autoScalaLibrary := false
88
9+ javacOptions ++= Seq (" -Xlint:deprecation" )
10+
911libraryDependencies <+= scalaVersion { v =>
1012 " org.scala-lang" % " scala-compiler" % v
1113}
You can’t perform that action at this time.
0 commit comments