From 8e30a1c7cc12f4c48dfdf5a6d028e889f2f8da17 Mon Sep 17 00:00:00 2001 From: Pavel Punegov <32519625+PavelPunegov@users.noreply.github.com> Date: Wed, 24 Jan 2018 17:06:15 +0300 Subject: [PATCH] Fix dependency with useCustomDist extension --- .../src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/buildSrc/plugins/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy b/buildSrc/plugins/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy index 588be6a3da0..d9ea1ecd248 100644 --- a/buildSrc/plugins/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy +++ b/buildSrc/plugins/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy @@ -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']) } }