File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -41,28 +41,4 @@ publishing {
4141 version = ' 21.2'
4242 }
4343 }
44- }
45-
46- tasks. withType(Javadoc ). configureEach {
47- // prevent Javadoc from failing gradle build:https://stackoverflow.com/questions/35435173/prevent-javadoc-from-failing-gradle-build
48- failOnError false
49- options. addStringOption(' Xdoclint:none' , ' -quiet' )
50- options. addStringOption(' encoding' , ' UTF-8' )
51- options. addStringOption(' charSet' , ' UTF-8' )
52- }
53-
54- tasks. register(' sourcesJar' , Jar ) {
55- from android. sourceSets. main. java. srcDirs
56- classifier = ' sources'
57- }
58-
59- tasks. register(' javadoc' , Javadoc ) {
60- source = android. sourceSets. main. java. srcDirs
61- classpath + = project. files(android. getBootClasspath(). join(File . pathSeparator))
62- }
63-
64- tasks. register(' javadocJar' , Jar ) {
65- dependsOn javadoc
66- classifier = ' javadoc'
67- from javadoc. destinationDir
6844}
You can’t perform that action at this time.
0 commit comments