groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject [19/21] groovy git commit: bintray build file fix
Date Wed, 21 Dec 2016 12:01:01 GMT
bintray build file fix


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/91728677
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/91728677
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/91728677

Branch: refs/heads/parrot
Commit: 91728677aa508c11823403fa49e0d28ce0de005d
Parents: 6586144
Author: John Wagenleitner <jwagenleitner@apache.org>
Authored: Sun Dec 18 07:44:26 2016 -0800
Committer: John Wagenleitner <jwagenleitner@apache.org>
Committed: Sun Dec 18 07:44:26 2016 -0800

----------------------------------------------------------------------
 gradle/bintray.gradle | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/91728677/gradle/bintray.gradle
----------------------------------------------------------------------
diff --git a/gradle/bintray.gradle b/gradle/bintray.gradle
index 214986a..2477659 100644
--- a/gradle/bintray.gradle
+++ b/gradle/bintray.gradle
@@ -38,7 +38,7 @@ allprojects {
     apply plugin: 'com.jfrog.artifactory-upload'
 
     artifactory {
-        contextUrl = project.bintrayContext ?: 'https://oss.jfrog.org'
+        contextUrl = project.hasProperty('bintrayContext') ? project.bintrayContext : 'https://oss.jfrog.org'
         resolve {
             repository {
                 repoKey = 'libs-release'
@@ -46,7 +46,7 @@ allprojects {
         }
         publish {
             repository {
-                repoKey = project.bintrayRepoKey ?: 'oss-snapshot-local' //The Artifactory
repository key to publish to
+                repoKey = project.hasProperty('bintrayRepoKey') ? project.bintrayRepoKey
: 'oss-snapshot-local' //The Artifactory repository key to publish to
                 //when using oss.jfrog.org the credentials are from Bintray. For local build
we expect them to be found in
                 //~/.gradle/gradle.properties, otherwise to be set in the build server
                 username = rootProject.bintrayUser


Mime
View raw message