fix: use split sources preference in more places
This commit is contained in:
parent
8b6da081a0
commit
a7c769a080
|
@ -32,10 +32,12 @@ sourceSets {
|
|||
compileClasspath += sourceSets.main.get().compileClasspath
|
||||
runtimeClasspath += sourceSets.main.get().runtimeClasspath
|
||||
|
||||
if (args.isSplitSources) {
|
||||
compileClasspath += sourceSets.client.get().compileClasspath
|
||||
runtimeClasspath += sourceSets.client.get().runtimeClasspath
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
val hasTestmod = !sourceSets.testmod.get().resources.isEmpty
|
||||
|
||||
|
|
Loading…
Reference in New Issue