diff --git a/dependencies/extension-api/build.gradle b/dependencies/extension-api/build.gradle index 27c543144..6c6f8e05d 100644 --- a/dependencies/extension-api/build.gradle +++ b/dependencies/extension-api/build.gradle @@ -1,6 +1,8 @@ buildscript { repositories { - mavenCentral() + maven { + url "http://repo1.maven.org/maven2/" + } } dependencies { diff --git a/templates/android/template/build.gradle b/templates/android/template/build.gradle index 338ef7465..702485a51 100644 --- a/templates/android/template/build.gradle +++ b/templates/android/template/build.gradle @@ -2,7 +2,9 @@ buildscript { repositories { - jcenter() + jcenter { + url "http://jcenter.bintray.com/" + } } dependencies { classpath 'com.android.tools.build:gradle:2.1.0' @@ -14,7 +16,9 @@ buildscript { allprojects { repositories { - jcenter() + jcenter { + url "http://jcenter.bintray.com/" + } } } @@ -29,7 +33,9 @@ task wrapper(type: Wrapper) { configure(subprojects.findAll {!it.file('build.gradle').exists() && it.file('build.xml').exists()}) { buildscript { repositories { - mavenCentral() + maven { + url "http://repo1.maven.org/maven2/" + } } dependencies { diff --git a/templates/android/template/gradle.properties b/templates/android/template/gradle.properties index fbd37547a..b593d1c07 100644 --- a/templates/android/template/gradle.properties +++ b/templates/android/template/gradle.properties @@ -19,7 +19,7 @@ VERSION_CODE=::META_BUILD_NUMBER:: ANDROID_BUILD_TARGET_SDK_VERSION=::ANDROID_TARGET_SDK_VERSION:: ANDROID_BUILD_MIN_SDK_VERSION=::ANDROID_MINIMUM_SDK_VERSION:: ANDROID_BUILD_SDK_VERSION=::ANDROID_TARGET_SDK_VERSION:: -ANDROID_BUILD_TOOLS_VERSION=23.0.3 +ANDROID_BUILD_TOOLS_VERSION=24.0.1 ::if KEY_STORE:: KEY_STORE=::KEY_STORE:: diff --git a/templates/android/template/gradle/wrapper/gradle-wrapper.properties b/templates/android/template/gradle/wrapper/gradle-wrapper.properties index 21248b2ff..a27a85c18 100644 --- a/templates/android/template/gradle/wrapper/gradle-wrapper.properties +++ b/templates/android/template/gradle/wrapper/gradle-wrapper.properties @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-::ANDROID_GRADLE_VERSION::-bin.zip +distributionUrl=http\://services.gradle.org/distributions/gradle-::ANDROID_GRADLE_VERSION::-bin.zip diff --git a/templates/extension/dependencies/android/build.gradle b/templates/extension/dependencies/android/build.gradle index e91a9af8d..e91e4ae42 100644 --- a/templates/extension/dependencies/android/build.gradle +++ b/templates/extension/dependencies/android/build.gradle @@ -1,6 +1,8 @@ buildscript { repositories { - mavenCentral() + maven { + url "http://repo1.maven.org/maven2/" + } } dependencies {