Use single task for empty javadocs.

This commit is contained in:
Ilya Gorbunov
2017-03-26 07:59:31 +03:00
parent c2aa906d77
commit 65a800840c
5 changed files with 4 additions and 55 deletions
-11
View File
@@ -41,19 +41,8 @@ jar {
}
// TODO: use dokka instead?
javadoc {
failOnError = false
}
task sourcesJar(type: Jar, dependsOn:classes) {
classifier = 'sources'
from sourceSets.main.kotlin
}
task javadocJar(type: Jar, dependsOn:javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}