From 77a8d347dbbb4ec0a19ac5de73caffce05514b77 Mon Sep 17 00:00:00 2001 From: NavidK0 Date: Wed, 1 Jul 2015 13:47:20 -0400 Subject: [PATCH] Changing build setup for gradle artifact repo --- build.gradle | 14 ++++++-------- gradle.properties | 3 +++ 2 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 gradle.properties diff --git a/build.gradle b/build.gradle index 27eb377f..ecde709f 100644 --- a/build.gradle +++ b/build.gradle @@ -34,21 +34,19 @@ repositories { } } +artifactoryPublish.skip = false + artifactory { contextUrl = 'http://localhost:8081/artifactory' publish { repository { - repoKey = 'libs-release-local' - username = 'admin' - password = 'AP8CX2wEWG8bxfMkUxnycYxQF4s9rttomEXr62' + repoKey = 'libs-snapshot-local' + username = '${artifactory_user}' + password = '${artifactory_password}' } } resolve { - repository { - repoKey = 'repo' - username = 'admin' - password = 'AP8CX2wEWG8bxfMkUxnycYxQF4s9rttomEXr62' - } + repoKey = 'repo' } } diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 00000000..3d0e8b9b --- /dev/null +++ b/gradle.properties @@ -0,0 +1,3 @@ +currentVersion=8.5-SNAPSHOT +artifactory_user=user +artifactory_password=AP3pJC3jBYKWV3uYBVqc1HCjhUKKMUsQAPyhdFm1r1E41QmXpcRceKpr4Arn