gradle-plugin: Support custom konan.home in gradle plugin tests

This commit is contained in:
Ilya Matveev
2017-11-03 12:53:24 +03:00
committed by ilmat192
parent 7b9cd6c9f4
commit 638d23e8b1
@@ -73,9 +73,14 @@ dependencies {
}
test {
dependsOn ':dist'
if (project.hasProperty("konan.home")) {
systemProperty("konan.home", project.property("konan.home"))
} else {
dependsOn ':dist'
systemProperty("konan.home", distDir.absolutePath)
}
// Uncomment for debugging.
//testLogging.showStandardStreams = true
systemProperty("konan.home", distDir.absolutePath)
}
jar {