Hi *! I need some help with sub project dependencies.
I have one CoreProject, where all dependencies are defined as transitive = false:
For Example:
configurations {
implementation.transitive = false
compileClasspath.transitive = false
runtimeClasspath.transitive = false
testRuntimeClasspath.transitive = false
testCompileClasspath.transitive = false
}
dependencies {
implementation 'commons-fileupload:commons-fileupload:1.3.3'
implementation 'commons-io:commons-io:2.6'
implementation 'org.apache.commons:commons-lang3:3.7'
testImplementation 'junit:junit:4.12'
}
and i have CustomerProject, depends on CoreProject
include ':CoreProject'
project(':CoreProject').projectDir = file("../CoreProject")
and i want to use the same dependencies of the CoreProject also transitive = false
configurations {
implementation.transitive = false
compileClasspath.transitive = false
runtimeClasspath.transitive = false
testRuntimeClasspath.transitive = false
testCompileClasspath.transitive = false
}
dependencies {
implementation (project(":CoreProject"))
testImplementation 'junit:junit:4.12'
}
this seems to be not working, because if i make in this case transitive = false, only project is added as dependency, without jars.
Is it possible to get all jars from the CoreProject with setting transitive = false?
Thank you!