Displaying differences for changeset |
@@ -20,6 +20,10 @@ |
apply plugin: "com.jfrog.artifactory" |
apply plugin: 'maven-publish' |
apply plugin: 'java-library' |
+def artifactory_repoKey="${artifactory_local_repoKey}" |
+def artifactory_user = "${artifactory_local_user}" |
+def artifactory_password = "${artifactory_local_password}" |
+def artifactory_contextUrl ="${artifactory_local_contextUrl}" |
def getVersionName = { -> |
def hashStdOut = new ByteArrayOutputStream() |
@@ -108,12 +112,11 @@ |
api 'com.zaxxer:HikariCP:3.4.5' |
} |
- |
-artifactory { |
+artifactory { |
contextUrl = "${artifactory_contextUrl}" //The base Artifactory URL if not overridden by the publisher/resolver |
publish { |
repository { |
- repoKey = 'csip-gradle-dev-local' |
+ repoKey = "${artifactory_repoKey}" |
username = "${artifactory_user}" |
password = "${artifactory_password}" |
maven = true |
@@ -126,6 +129,7 @@ |
publishPom = true |
} |
} |
+ |
} |
@@ -1,6 +1,13 @@ |
-artifactory_user=admin |
-artifactory_password=123456aA |
-artifactory_contextUrl= http://localhost:8081/artifactory |
+artifactory_local_user=admin |
+artifactory_local_password=123456aA |
+artifactory_local_contextUrl=http://localhost:8081/artifactory |
+artifactory_local_repoKey=csip-gradle-dev-local |
+ |
+artifactory_remote_contextUrl=http://10.2.228.63:8081/artifactory |
+artifactory_remote_user=admin |
+artifactory_remote_password=Colostate1 |
+artifactory_remote_repoKey=csip-remote-release |
+ |
theGroup=edu.colostate.omslab |
theName=csip-core |