Build: Use javadocJar helper to specify artifact explicitly

Creating javadocJar task for every project produces lots of unnecessary
tasks, some project don't even have code. Jar task without outDir
property set fails idea import with gradle 5.0+
This commit is contained in:
Vyacheslav Gerasimov
2019-01-29 17:47:37 +03:00
parent e09802289d
commit 14d9ec9fb2
21 changed files with 44 additions and 26 deletions
@@ -21,9 +21,10 @@ sourceSets {
artifacts {
archives sourcesJar
archives javadocJar
}
javadocJar()
dist {
from (jar, sourcesJar)
}