File tree 1 file changed +10
-10
lines changed 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,16 @@ allprojects {
32
32
mavenLocal()
33
33
}
34
34
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
+
35
45
if ((group as String ).isNotEmpty() && name != " lint" && name != " internal" ) {
36
46
configureAndroid()
37
47
configureQuality()
@@ -42,16 +52,6 @@ allprojects {
42
52
}
43
53
}
44
54
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
-
55
55
val Project .configDir get() = " $rootDir /library/quality"
56
56
val Project .reportsDir get() = " $buildDir /reports"
57
57
You can’t perform that action at this time.
0 commit comments