diff options
-rw-r--r-- | build.gradle | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle index a1e6864..9d83f1c 100644 --- a/build.gradle +++ b/build.gradle @@ -26,6 +26,11 @@ allprojects { maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } maven { url "https://oss.sonatype.org/content/repositories/releases/" } } + gradle.projectsEvaluated { + tasks.withType(JavaCompile) { + options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" + } + } } project(":desktop") { @@ -101,4 +106,4 @@ project(":core") { tasks.eclipse.doLast { delete ".project" -}
\ No newline at end of file +} |