summaryrefslogtreecommitdiff
path: root/android/testData/projects/navigator/packageview
diff options
context:
space:
mode:
authorJosiah Gaskin <josiahgaskin@google.com>2014-06-17 19:38:15 -0700
committerJosiah Gaskin <josiahgaskin@google.com>2014-06-17 19:40:11 -0700
commitbad30c3b6ae0a4c222ff7430b1b6929ad9c2f193 (patch)
tree47b3e99e8ee0b2041c6cdb82e23775e5d8fa61e4 /android/testData/projects/navigator/packageview
parent03e2d1c0413ea123a6854de68a1e5dcdc79b2876 (diff)
downloadidea-bad30c3b6ae0a4c222ff7430b1b6929ad9c2f193.tar.gz
Allow test configs to use custom Maven URL
For testing purposes, we need to deploy a test version of the newest gradle plugin to a staging server. This change adds a check to all buildscript.repositories {} closures which checks for the presence of the environment variable MAVEN_URL which can point to a staging maven repository. Change-Id: I755c5973e806d1fee9cdf82c16215713da7b6b5e
Diffstat (limited to 'android/testData/projects/navigator/packageview')
-rw-r--r--android/testData/projects/navigator/packageview/simple/build.gradle3
1 files changed, 3 insertions, 0 deletions
diff --git a/android/testData/projects/navigator/packageview/simple/build.gradle b/android/testData/projects/navigator/packageview/simple/build.gradle
index e33f142839c..ff0c292aaa8 100644
--- a/android/testData/projects/navigator/packageview/simple/build.gradle
+++ b/android/testData/projects/navigator/packageview/simple/build.gradle
@@ -3,6 +3,9 @@
buildscript {
repositories {
mavenCentral()
+ if (System.getenv("MAVEN_URL") != null) {
+ maven {url System.getenv("MAVEN_URL")}
+ }
}
dependencies {
classpath 'com.android.tools.build:gradle:0.12.+'