From 18831df21e259294b1462ba0e7f32df07b07bcb6 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Tue, 3 Dec 2019 16:00:17 +0900 Subject: [PATCH] Add compiler arguments for compile warnings (#1730) --- build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.gradle b/build.gradle index 42a7898fd0..f53e9fcd18 100644 --- a/build.gradle +++ b/build.gradle @@ -52,7 +52,9 @@ subprojects { } compileJava.options.encoding = 'UTF-8' + compileJava.options.compilerArgs << '-Xlint:unchecked' << '-Xlint:deprecation' compileTestJava.options.encoding = 'UTF-8' + compileTestJava.options.compilerArgs << '-Xlint:unchecked' << '-Xlint:deprecation' if(!project.name.contains('samples') && !project.name.contains('benchmarks')) { apply plugin: 'io.spring.publishing'