]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
android: Get a warning on use of deprecated features
authorTobias Brunner <tobias@strongswan.org>
Tue, 12 Apr 2016 15:43:39 +0000 (17:43 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 27 Apr 2016 12:24:27 +0000 (14:24 +0200)
src/frontends/android/app/build.gradle

index d27ba1edd9882859c1b4a72b9d0a64f503eda152..9ef7d171cf57a91fec4bc6ba9e6bd75678acd838 100644 (file)
@@ -29,6 +29,7 @@ android {
 
     tasks.withType(JavaCompile) {
         compileTask -> compileTask.dependsOn buildNative
+        options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
     }
 
     clean.dependsOn 'cleanNative'