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
This commit is contained in:
Ilya Matveev
2017-04-03 13:22:25 +07:00
committed by ilmat192
parent a7cf182716
commit 7b0e70d550
+2 -2
View File
@@ -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']
}