My API project no longer reports the Javadoc WARNINGs and ERRORs when running gradle javadoc.
My other JavaFX project is reporting them.
I was content with my API having no Javadoc warnings or errors, but was distraught when I discovered wrong javadoc which should have produced an error and failed the build.
Both projects have same build script configuration regarding javadoc.
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives jar
archives sourcesJar
archives javadocJar
}
Using
Gradle 4.10
Java 1.8