Support Android Gradle plugin v3.0.1 (#13492)

This commit is contained in:
Mikkel Nygaard Ravn
2017-12-13 12:16:22 +01:00
committed by GitHub
parent d04c906e0b
commit e5aac6928b
10 changed files with 95 additions and 66 deletions

View File

@@ -3,35 +3,31 @@ version '1.0-SNAPSHOT'
buildscript {
repositories {
google()
jcenter()
maven {
url "https://maven.google.com"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.android.tools.build:gradle:3.0.1'
}
}
rootProject.allprojects {
repositories {
google()
jcenter()
maven {
url "https://maven.google.com"
}
}
}
apply plugin: 'com.android.library'
android {
compileSdkVersion 25
buildToolsVersion '25.0.3'
compileSdkVersion 26
buildToolsVersion '26.0.3'
defaultConfig {
minSdkVersion 16
targetSdkVersion 25
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"