I assume that in fact these modules should be treated as provided (for example, there should not be packages in the WAR archive). If not just change it to compile.
ConfigurationprovidedCompileNot available in Gradle out of the box. If this is a web module, you can simply add / apply a military plugin:
apply plugin: 'war'
If you cannot add this configuration manually:
configurations {
providedCompile
}
dependencies {
providedCompile project(':Core:Platform')
...
}
sourceSets.main.compileClasspath += configurations.providedCompile
sourceSets.test.compileClasspath += configurations.providedCompile
sourceSets.test.runtimeClasspath += configurations.providedCompile
propdeps-plugin, , .