Skip to content

Commit 85151f7

Browse files
author
Eric Leong
committed
Turn off doclint in Java 8.
1 parent 8de543f commit 85151f7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

backboard/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,13 @@ android.libraryVariants.all { variant ->
8585
}
8686
}
8787

88+
// disable insane, build-breaking doclint tool in Java 8
89+
if (JavaVersion.current().isJava8Compatible()) {
90+
tasks.withType(Javadoc) {
91+
//noinspection SpellCheckingInspection
92+
options.addStringOption('Xdoclint:none', '-quiet')
93+
}
94+
}
95+
8896
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
8997
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'

0 commit comments

Comments
 (0)