naveenchandra
08/03/2020, 9:23 AMjavadoc {
//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:
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: