Fix dependency with useCustomDist extension

This commit is contained in:
Pavel Punegov
2018-01-24 17:06:15 +03:00
committed by Pavel Punegov
parent d9a07c6b61
commit 8e30a1c7cc
@@ -75,9 +75,9 @@ abstract class KonanTest extends JavaExec {
}
}
KonanTest(){
// We don't build the compiler if a custom konan.home path is specified.
if (!project.hasProperty("konan.home")) {
KonanTest() {
// We don't build the compiler if a custom dist path is specified.
if (!project.ext.useCustomDist) {
dependsOn(project.rootProject.tasks['dist'])
}
}