Skip to content

Commit 2961627

Browse files
Dao NgocDao Ngoc
authored andcommitted
javacOptions ++= Seq("-Xlint:deprecation")
1 parent d2145e5 commit 2961627

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

agent/build.sbt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ version := "1.0-SNAPSHOT"
66

77
autoScalaLibrary := false
88

9+
javacOptions ++= Seq("-Xlint:deprecation")
10+
911
packageOptions in (Compile, packageBin) += Package.ManifestAttributes(
1012
"Agent-Class" -> "scalive.Agent"
1113
)

client/build.sbt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ scalaVersion := "2.10.3"
88

99
scalacOptions ++= 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
1315
unmanagedJars in Compile := (file(System.getProperty("java.home")) / ".." / "lib" * "tools.jar").classpath

repl/build.sbt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ version := "1.0-SNAPSHOT"
66

77
autoScalaLibrary := false
88

9+
javacOptions ++= Seq("-Xlint:deprecation")
10+
911
libraryDependencies <+= scalaVersion { v =>
1012
"org.scala-lang" % "scala-compiler" % v
1113
}

0 commit comments

Comments
 (0)