modify build.gradle
MODIFY
build.gradle
build.gradle
@@ -3,9 +3,13 @@ apply plugin: 'com.android.library'
buildscript {
repositories {
mavenCentral()
+ maven {
+ url 'https://maven.google.com/'
+ name 'Google'
+ }
}
dependencies {
- classpath 'com.android.tools.build:gradle:2.3.1'
+ classpath 'com.android.tools.build:gradle:3.0.0'
}
}
@@ -25,7 +29,12 @@ subprojects {
android {
compileSdkVersion 22
- buildToolsVersion '25.0.0'
+ buildToolsVersion '26.0.2'
+ defaultConfig {
+ minSdkVersion 14
+ targetSdkVersion 22
+ multiDexEnabled true
+ }
sourceSets {
main {
@@ -64,3 +73,17 @@ subprojects {
}
}
}
+repositories {
+ maven {
+ url 'https://maven.google.com/'
+ name 'Google'
+ }
+}
+allprojects {
+ repositories {
+ jcenter()
+ maven {
+ url 'https://maven.google.com'
+ }
+ }
+}
\ No newline at end of file

modify build.gradle