Turns out, the Gradle version (2.10) is NOT the same as the plugin version (2.1.0). These have to be treated separately.
18 lines
356 B
Groovy
18 lines
356 B
Groovy
buildscript {
|
|
repositories {
|
|
maven {
|
|
url "http://repo1.maven.org/maven2/"
|
|
}
|
|
}
|
|
|
|
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
|
|
} |