Knotx / knotx-gradle-plugins

Gradle plugins that help manage Knot.x modules builds.
https://knotx.io
Apache License 2.0
1 stars 3 forks source link

Exclude "generated" from javadoc #27

Open tomaszmichalak opened 4 years ago

tomaszmichalak commented 4 years ago

We need to add the exclude("**/generated/**") entry in java-library.gradle.kts.

tasks.register<Jar>("javadocJar") {
    exclude("**/generated/**")
    from(tasks.named<Javadoc>("javadoc"))
    archiveClassifier.set("javadoc")
}