gradle-plugin: Support custom konan.home in gradle plugin tests
This commit is contained in:
@@ -73,9 +73,14 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
test {
|
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
|
//testLogging.showStandardStreams = true
|
||||||
systemProperty("konan.home", distDir.absolutePath)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
|
|||||||
Reference in New Issue
Block a user