Remove javadoc

This commit is contained in:
Chumva 2019-10-11 14:15:27 +03:00
parent 009afa15af
commit 6b35f7a022

View file

@ -34,22 +34,11 @@ task sourcesJar(type: Jar) {
from android.sourceSets.main.java.srcDirs from android.sourceSets.main.java.srcDirs
} }
task javadoc(type: Javadoc) {
source = android.sourceSets.main.java.srcDirs
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
task classesJar(type: Jar) { task classesJar(type: Jar) {
from "$buildDir/intermediates/classes/release" from "$buildDir/intermediates/classes/release"
} }
artifacts { artifacts {
archives classesJar archives classesJar
archives javadocJar
archives sourcesJar archives sourcesJar
} }