Use gradle built-in shorthand notations for jcenter and google

This commit is contained in:
mc0239
2020-01-21 11:46:00 +01:00
committed by Joshua Granick
parent d7bd820238
commit 1fcc76ee12
3 changed files with 10 additions and 27 deletions

View File

@@ -1,11 +1,7 @@
buildscript {
repositories {
jcenter {
url "http://jcenter.bintray.com/"
}
maven {
url 'https://maven.google.com/'
}
jcenter()
google()
}
dependencies {

View File

@@ -2,12 +2,8 @@
buildscript {
repositories {
jcenter {
url "http://jcenter.bintray.com/"
}
maven {
url "https://maven.google.com/"
}
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:::ANDROID_GRADLE_PLUGIN::'
@@ -19,12 +15,8 @@ buildscript {
allprojects {
repositories {
jcenter {
url "http://jcenter.bintray.com/"
}
maven {
url "https://maven.google.com"
}
jcenter()
google()
}::if ANDROID_GRADLE_BUILD_DIRECTORY::
buildDir = "::ANDROID_GRADLE_BUILD_DIRECTORY::/::APP_FILE::/${project.name}"::end::
}
@@ -40,9 +32,8 @@ wrapper {
configure(subprojects.findAll {!it.file('build.gradle').exists() && it.file('build.xml').exists()}) {
buildscript {
repositories {
maven {
url "https://maven.google.com/"
}
jcenter()
google()
}
dependencies {

View File

@@ -1,11 +1,7 @@
buildscript {
repositories {
jcenter {
url "http://jcenter.bintray.com/"
}
maven {
url "https://maven.google.com/"
}
jcenter()
google()
}
dependencies {