remove the duplicate javadoc task from gradle release scripts

This commit is contained in:
Taner Sener 2021-03-03 22:06:52 +00:00
parent 994d7c2f55
commit 167ba033a6

View File

@ -3,15 +3,6 @@ task sourcesJar(type: Jar) {
from android.sourceSets.main.java.srcDirs
}
task javadoc(type: Javadoc) {
title = 'FFmpegKit'
destinationDir = file("${projectDir}/../../docs/android/javadoc")
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
source = android.sourceSets.main.java.srcDirs
configurations.implementation.setCanBeResolved(true)
classpath += configurations.implementation
}
task javadocJar(type: Jar, dependsOn: javadoc) {
archiveClassifier.set('javadoc')
from javadoc.destinationDir