Skip to content

Commit 7f2ff7e

Browse files
Merge pull request #67 from uber/remove-compile-warnings
remove compile warnings when running samples.
2 parents fba3e9c + 63b2d36 commit 7f2ff7e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.gradle

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ dependencies {
5151
compileJava {
5252
dependsOn 'googleJavaFormat'
5353
options.encoding = 'UTF-8'
54-
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
54+
options.compilerArgs << "-Xdoclint:none"
5555
options.errorprone.errorproneArgs = ["-XepExcludedPaths:.*/generated-sources/.*"]
56+
options.warnings = false
5657
}
5758

5859
task execute(type: JavaExec) {

0 commit comments

Comments
 (0)