diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2014-10-27 10:24:28 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2014-10-27 10:24:28 -0230 |
commit | 3df01a31d3d26359df13a9074584f06f3af0ee4e (patch) | |
tree | a7409a1b646bf68f344a9556ea5f80fdda475332 /java/build.gradle | |
parent | ShowIceLogDialog minor fix: synchronized not required. (diff) | |
download | ice-3df01a31d3d26359df13a9074584f06f3af0ee4e.tar.bz2 ice-3df01a31d3d26359df13a9074584f06f3af0ee4e.tar.xz ice-3df01a31d3d26359df13a9074584f06f3af0ee4e.zip |
Got rid of a warning in the build system and set source/target compatibilty in single place
Diffstat (limited to 'java/build.gradle')
-rw-r--r-- | java/build.gradle | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/build.gradle b/java/build.gradle index 6f7d578fc58..10f42ecbacc 100644 --- a/java/build.gradle +++ b/java/build.gradle @@ -23,6 +23,10 @@ subprojects { attributes("Built-By": "ZeroC, Inc.") } } + + tasks.withType(JavaCompile) { + options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" << "-Xlint:-options" + } } apply from: "$rootProject.projectDir/demo/Ice/build.gradle" |