[Gradle][Minor] kgp-idea-proto: Avoid capturing project in test task
KT-54825
This commit is contained in:
committed by
Space Team
parent
bc4644a031
commit
b44be0d761
@@ -105,9 +105,12 @@ run {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tasks.test {
|
tasks.test {
|
||||||
dependsOn(compatibilityTestClasspath)
|
val capturedCompatibilityTestClasspath: FileCollection = compatibilityTestClasspath
|
||||||
inputs.files(compatibilityTestClasspath)
|
dependsOn(capturedCompatibilityTestClasspath)
|
||||||
doFirst { systemProperty("compatibilityTestClasspath", compatibilityTestClasspath.files.joinToString(";") { it.absolutePath }) }
|
inputs.files(capturedCompatibilityTestClasspath)
|
||||||
|
doFirst {
|
||||||
|
systemProperty("compatibilityTestClasspath", capturedCompatibilityTestClasspath.files.joinToString(";") { it.absolutePath })
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user