We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85a6ba6 commit 94f92f6Copy full SHA for 94f92f6
1 file changed
build.gradle
@@ -34,6 +34,15 @@ subprojects {
34
}
35
36
37
+ tasks.withType(JavaCompile).configureEach {
38
+ it.options.compilerArgs += [
39
+ "-Xlint:all"
40
+ ]
41
+ if (rootProject.hasProperty('failOnWarnings') && rootProject.failOnWarnings.toBoolean()) {
42
+ it.options.compilerArgs += ["-Werror"]
43
+ }
44
45
+
46
repositories {
47
maven { // The google mirror is less flaky than mavenCentral()
48
url "https://maven-central.storage-download.googleapis.com/maven2/"
0 commit comments