Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lublin <daniel@lublin.se>2020-05-08 13:56:56 +0300
committerDaniel Lublin <daniel@lublin.se>2020-05-08 13:56:56 +0300
commitf21a38e1f671ebce5dec4567d191480ba18ed3cf (patch)
treece7af46c1c1424d52815d6af59e7fe37d199a1ba /build.gradle
parentd6103a3c40c38c805f949b9922fd1cf1be0ea64c (diff)
Lint more
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle7
1 files changed, 7 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index f0fd30e..aa6b925 100644
--- a/build.gradle
+++ b/build.gradle
@@ -15,6 +15,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+allprojects {
+ tasks.withType(JavaCompile) {
+ // TODO include deprecations at some point, but currently they are *many*
+ options.compilerArgs << "-Xlint:all" << "-Xlint:-deprecation" << "-Xlint:-dep-ann"
+ }
+}
+
buildscript {
repositories {
jcenter()