[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 {
|
||||
dependsOn(compatibilityTestClasspath)
|
||||
inputs.files(compatibilityTestClasspath)
|
||||
doFirst { systemProperty("compatibilityTestClasspath", compatibilityTestClasspath.files.joinToString(";") { it.absolutePath }) }
|
||||
val capturedCompatibilityTestClasspath: FileCollection = compatibilityTestClasspath
|
||||
dependsOn(capturedCompatibilityTestClasspath)
|
||||
inputs.files(capturedCompatibilityTestClasspath)
|
||||
doFirst {
|
||||
systemProperty("compatibilityTestClasspath", capturedCompatibilityTestClasspath.files.joinToString(";") { it.absolutePath })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user