Hi. Has anyone tried to run gradle(Gradle version:...
# general
n
Hi. Has anyone tried to run gradle(Gradle version: 6.4, Groovy lang for build.gradle) javadoc task with excludes option with JDK 11? I am having module-info.java in the project and whenever i add excludes option then i start getting "package does not exist" errors. My Gradle Javadoc task config is this(which works fine):
Copy code
javadoc {
    //exclude '**/generated/**'
    source = sourceSets.main.allJava
}
With this the module is getting compiled with required dependencies along with module path. However when i try to exclude generated Jax-ws related dependencies which I do not want for javadoc generation I start getting following errors:
Copy code
javadoc {
    exclude '**/generated/**'
    source = sourceSets.main.allJava
}
error: package com.flexnet.operations.webservices.soap.client.productpackagingservice.generated.v0 does not exist import com.flexnet.operations.webservices.soap.client.productpackagingservice.generated.v0.CreateFeatureRequestType; However if i remove the module-info.java from my module and rerun the javadoc task with exclude it works just fine. Screenshot of the error with module-info.java and exclude as below: