Fix cooperative development configuration
Deprecated testCompile was not available, replace with testApi
This commit is contained in:
committed by
TeamCityServer
parent
4073f177b4
commit
65b6e7076b
@@ -172,14 +172,14 @@ fun DependencyHandler.jpsLikeModuleDependency(moduleName: String, scope: JpsDepS
|
||||
when (scope) {
|
||||
JpsDepScope.COMPILE -> {
|
||||
if (exported) {
|
||||
add("testCompile", projectTests(moduleName))
|
||||
add("testApi", projectTests(moduleName))
|
||||
} else {
|
||||
add("testImplementation", projectTests(moduleName))
|
||||
}
|
||||
}
|
||||
JpsDepScope.TEST -> {
|
||||
if (exported) {
|
||||
add("testCompile", projectTests(moduleName))
|
||||
add("testApi", projectTests(moduleName))
|
||||
} else {
|
||||
add("testImplementation", projectTests(moduleName))
|
||||
}
|
||||
@@ -189,7 +189,7 @@ fun DependencyHandler.jpsLikeModuleDependency(moduleName: String, scope: JpsDepS
|
||||
}
|
||||
JpsDepScope.PROVIDED -> {
|
||||
if (exported) {
|
||||
add("testCompile", projectTests(moduleName))
|
||||
add("testApi", projectTests(moduleName))
|
||||
} else {
|
||||
add("testImplementation", projectTests(moduleName))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user