Skip to content

Commit

Permalink
build: Don't override bintray artifact during uploading by default
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ilmat192 committed Apr 3, 2017
1 parent a7cf182 commit 7b0e70d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/gradle-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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']
}

0 comments on commit 7b0e70d

Please sign in to comment.