Use gradle built-in shorthand notations for jcenter and google
This commit is contained in:
8
dependencies/extension-api/build.gradle
vendored
8
dependencies/extension-api/build.gradle
vendored
@@ -1,11 +1,7 @@
|
|||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
jcenter {
|
jcenter()
|
||||||
url "http://jcenter.bintray.com/"
|
google()
|
||||||
}
|
|
||||||
maven {
|
|
||||||
url 'https://maven.google.com/'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
@@ -2,12 +2,8 @@
|
|||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
jcenter {
|
jcenter()
|
||||||
url "http://jcenter.bintray.com/"
|
google()
|
||||||
}
|
|
||||||
maven {
|
|
||||||
url "https://maven.google.com/"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:::ANDROID_GRADLE_PLUGIN::'
|
classpath 'com.android.tools.build:gradle:::ANDROID_GRADLE_PLUGIN::'
|
||||||
@@ -19,12 +15,8 @@ buildscript {
|
|||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
repositories {
|
repositories {
|
||||||
jcenter {
|
jcenter()
|
||||||
url "http://jcenter.bintray.com/"
|
google()
|
||||||
}
|
|
||||||
maven {
|
|
||||||
url "https://maven.google.com"
|
|
||||||
}
|
|
||||||
}::if ANDROID_GRADLE_BUILD_DIRECTORY::
|
}::if ANDROID_GRADLE_BUILD_DIRECTORY::
|
||||||
buildDir = "::ANDROID_GRADLE_BUILD_DIRECTORY::/::APP_FILE::/${project.name}"::end::
|
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()}) {
|
configure(subprojects.findAll {!it.file('build.gradle').exists() && it.file('build.xml').exists()}) {
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
jcenter()
|
||||||
url "https://maven.google.com/"
|
google()
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
@@ -1,11 +1,7 @@
|
|||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
jcenter {
|
jcenter()
|
||||||
url "http://jcenter.bintray.com/"
|
google()
|
||||||
}
|
|
||||||
maven {
|
|
||||||
url "https://maven.google.com/"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
Reference in New Issue
Block a user