File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,16 @@ allprojects {
3232 mavenLocal()
3333 }
3434
35+ // Skip Javadoc generation for Java 1.8 as it breaks build
36+ if (JavaVersion .current().isJava8Compatible) {
37+ tasks.withType<Javadoc > {
38+ options {
39+ this as StandardJavadocDocletOptions
40+ addStringOption(" Xdoclint:none" , " -quiet" )
41+ }
42+ }
43+ }
44+
3545 if ((group as String ).isNotEmpty() && name != " lint" && name != " internal" ) {
3646 configureAndroid()
3747 configureQuality()
@@ -42,16 +52,6 @@ allprojects {
4252 }
4353}
4454
45- // Skip Javadoc generation for Java 1.8 as it breaks build
46- if (JavaVersion .current().isJava8Compatible) {
47- tasks.withType<Javadoc > {
48- options {
49- this as StandardJavadocDocletOptions
50- addStringOption(" Xdoclint:none" , " -quiet" )
51- }
52- }
53- }
54-
5555val Project .configDir get() = " $rootDir /library/quality"
5656val Project .reportsDir get() = " $buildDir /reports"
5757
You can’t perform that action at this time.
0 commit comments