Skip to content

Commit 63b2d36

Browse files
remove compile warnings when running samples.
1 parent fba3e9c commit 63b2d36

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.gradle

Lines changed: 2 additions & 1 deletion
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)