diff --git a/settings.gradle b/settings.gradle index 81abe7c1d..d2fc7cf20 100644 --- a/settings.gradle +++ b/settings.gradle @@ -54,7 +54,7 @@ if (localProperties != null) { if (androidComponentsLocalPath != null) { log("Enabling automatic publication of android-components from: $androidComponentsLocalPath") log("Determining if android-components are up-to-date...") - def compileAcCmd = ["${androidComponentsLocalPath}/gradlew", "compileReleaseKotlin"] + def compileAcCmd = ["./gradlew", "compileReleaseKotlin"] def compileOutput = runCmd(compileAcCmd, androidComponentsLocalPath, "Compiled android-components.") // This is somewhat brittle: parse last line of gradle output, to fish out how many tasks were executed. // One executed task means gradle didn't do any work other than executing the top-level 'compile' task.