Fix dependency with useCustomDist extension
This commit is contained in:
committed by
Pavel Punegov
parent
d9a07c6b61
commit
8e30a1c7cc
@@ -75,9 +75,9 @@ abstract class KonanTest extends JavaExec {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
KonanTest(){
|
KonanTest() {
|
||||||
// We don't build the compiler if a custom konan.home path is specified.
|
// We don't build the compiler if a custom dist path is specified.
|
||||||
if (!project.hasProperty("konan.home")) {
|
if (!project.ext.useCustomDist) {
|
||||||
dependsOn(project.rootProject.tasks['dist'])
|
dependsOn(project.rootProject.tasks['dist'])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user