From ec965ca1cc87690b43455598cd2d592fcba55bfb Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Thu, 18 Jun 2015 12:40:08 -0700 Subject: [PATCH] Enable warnings for rawtypes This would have prevented the missing generics in 31394aa --- build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index fd97364025..683ec6b2bd 100644 --- a/build.gradle +++ b/build.gradle @@ -30,7 +30,8 @@ subprojects { [compileJava, compileTestJava].each() { - it.options.compilerArgs += ["-Xlint:unchecked", "-Xlint:deprecation", "-Xlint:-options"] + it.options.compilerArgs += ["-Xlint:unchecked", "-Xlint:deprecation", "-Xlint:-options", + "-Xlint:rawtypes"] it.options.encoding = "UTF-8" }