From c8a62a8e792f3a58e82976bcc0a3ce027ce48b9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Sun, 21 Dec 2014 14:00:00 +0100 Subject: [PATCH] Warnings are from Android's lint, not java --- F-Droid/build.gradle | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/F-Droid/build.gradle b/F-Droid/build.gradle index 975af5411..10840f4f0 100644 --- a/F-Droid/build.gradle +++ b/F-Droid/build.gradle @@ -47,17 +47,17 @@ android { compileOptions.encoding = "UTF-8" - lintOptions { - abortOnError false - } - - // Enable all java warnings + // Enable all Android lint warnings gradle.projectsEvaluated { tasks.withType(JavaCompile) { options.compilerArgs << "-Xlint:all" } } + lintOptions { + abortOnError false + } + } // TODO: This person took the example code below from another blogpost online, however