[Build] Apply :idea:idea-gradle classpath modification on JPS build only
This modification is incompatible with Gradle configuration cache Relates to #KT-44611
This commit is contained in:
@@ -106,6 +106,7 @@ projectTest(parallel = false) {
|
|||||||
workingDir = rootDir
|
workingDir = rootDir
|
||||||
useAndroidSdk()
|
useAndroidSdk()
|
||||||
|
|
||||||
|
if (kotlinBuildProperties.isJpsBuildEnabled) {
|
||||||
doFirst {
|
doFirst {
|
||||||
val mainResourceDirPath = File(project.buildDir, "resources/main").absolutePath
|
val mainResourceDirPath = File(project.buildDir, "resources/main").absolutePath
|
||||||
sourceSets["test"].runtimeClasspath = sourceSets["test"].runtimeClasspath.filter { file ->
|
sourceSets["test"].runtimeClasspath = sourceSets["test"].runtimeClasspath.filter { file ->
|
||||||
@@ -118,6 +119,7 @@ projectTest(parallel = false) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
configureFormInstrumentation()
|
configureFormInstrumentation()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user