You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2017/01/26 05:30:58 UTC
[24/50] groovy git commit: ability to change repoKey and contextUrl
ability to change repoKey and contextUrl
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/af225463
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/af225463
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/af225463
Branch: refs/heads/GROOVY_2_4_X
Commit: af225463ef2365683dba1922a34dabb35f80ab2e
Parents: 07994e1
Author: paulk <pa...@asert.com.au>
Authored: Sat Dec 17 16:40:33 2016 +1000
Committer: paulk <pa...@asert.com.au>
Committed: Sat Dec 17 16:43:13 2016 +1000
----------------------------------------------------------------------
gradle/bintray.gradle | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/af225463/gradle/bintray.gradle
----------------------------------------------------------------------
diff --git a/gradle/bintray.gradle b/gradle/bintray.gradle
index bd1e29b..c80cd45 100644
--- a/gradle/bintray.gradle
+++ b/gradle/bintray.gradle
@@ -36,7 +36,7 @@ allprojects {
apply plugin: 'artifactory'
artifactory {
- contextUrl = 'https://oss.jfrog.org'
+ contextUrl = project.bintrayContext ?: 'https://oss.jfrog.org'
resolve {
repository {
repoKey = 'libs-release'
@@ -44,7 +44,7 @@ allprojects {
}
publish {
repository {
- repoKey = 'oss-snapshot-local' //The Artifactory repository key to publish to
+ repoKey = 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