Jcenter is the default for Android Studio projects, is a superset of Maven Central, and is what is used in the default lime template. Fixes Android builds failing to resolve gradle and gradle plugin versions that are missing from Maven Central.
18 lines
355 B
Groovy
18 lines
355 B
Groovy
buildscript {
|
|
repositories {
|
|
jcenter {
|
|
url "http://jcenter.bintray.com/"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:::ANDROID_GRADLE_PLUGIN::'
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
|
|
buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
|
|
} |