Multi module project : One module dependent on other. Distribution doesn’t include the module on which main module is dependent
can you elaborate the problem a bit what you expect/miss here? And possibly provide a selfcontained build snippet.
cheers, rené
I have 2 modules. One(Core module) with all utility classes and its build.gradle. Other one is a module(dependent module) which uses core module.
In dependent module, I have following dependency in build.gradle: dependencies {
compile project(’:core’)
}
When I create a zip distribution for this module:
task createDis(type:Zip, dependsOn : [‘clean’, ‘build’]) {
build.mustRunAfter clean
from ‘src/main/content’ }
it doesnt have the utility classes of core. So I am not able to use those in dependent module.