Changing build setup for gradle artifact repo

This commit is contained in:
NavidK0 2015-07-01 13:47:20 -04:00
parent 355a5adf46
commit 77a8d347db
2 changed files with 9 additions and 8 deletions

View File

@ -34,21 +34,19 @@ repositories {
} }
} }
artifactoryPublish.skip = false
artifactory { artifactory {
contextUrl = 'http://localhost:8081/artifactory' contextUrl = 'http://localhost:8081/artifactory'
publish { publish {
repository { repository {
repoKey = 'libs-release-local' repoKey = 'libs-snapshot-local'
username = 'admin' username = '${artifactory_user}'
password = 'AP8CX2wEWG8bxfMkUxnycYxQF4s9rttomEXr62' password = '${artifactory_password}'
} }
} }
resolve { resolve {
repository {
repoKey = 'repo' repoKey = 'repo'
username = 'admin'
password = 'AP8CX2wEWG8bxfMkUxnycYxQF4s9rttomEXr62'
}
} }
} }

3
gradle.properties Normal file
View File

@ -0,0 +1,3 @@
currentVersion=8.5-SNAPSHOT
artifactory_user=user
artifactory_password=AP3pJC3jBYKWV3uYBVqc1HCjhUKKMUsQAPyhdFm1r1E41QmXpcRceKpr4Arn