From 7b0e70d550024b41f3af44bc1da41b2ef4d9d752 Mon Sep 17 00:00:00 2001 From: Ilya Matveev Date: Mon, 3 Apr 2017 13:22:25 +0700 Subject: [PATCH] build: Don't override bintray artifact during uploading by default This patch disables overriding the gradle-plugin artifact if such artifact is already uploaded to bintray. One may force overriding using 'override' project property: ./gradlew bintrayUpload -Poverride --- tools/gradle-plugin/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/gradle-plugin/build.gradle b/tools/gradle-plugin/build.gradle index 3e0fbafc50a..0af59efaa62 100644 --- a/tools/gradle-plugin/build.gradle +++ b/tools/gradle-plugin/build.gradle @@ -96,8 +96,8 @@ bintray { name = '0.1' desc = 'Kotlin Native Gradle plugin 0.1' } - publish = true - override = true + publish = true // project.hasProperty("publish") + override = project.hasProperty("override") } publications = ['gradlePlugin'] } \ No newline at end of file