fix: if we don't have a testmod, we don't have a testmod
This commit is contained in:
parent
2f473a920d
commit
f2b30e3873
@ -97,10 +97,11 @@ afterEvaluate {
|
||||
// }
|
||||
}
|
||||
|
||||
val hasTestmod = !sourceSets.testmod.get().resources.isEmpty
|
||||
if (!isRoot) rootProject.dependencies {
|
||||
api(project(path = project.path, configuration = "shadow"))
|
||||
if (lomArgs.isSplitSources) clientImplementation(sourceSets.client.get().output)
|
||||
testmodImplementation(project(mapOf("path" to project.path, "configuration" to "testmod")))
|
||||
if (hasTestmod) testmodImplementation(project(mapOf("path" to project.path, "configuration" to "testmod")))
|
||||
|
||||
if (!devOnly) include(project)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user