diff --git a/ApiDemos/app/build.gradle b/ApiDemos/app/build.gradle index 204634ca..92c1814e 100644 --- a/ApiDemos/app/build.gradle +++ b/ApiDemos/app/build.gradle @@ -1,13 +1,14 @@ apply plugin: 'com.android.application' +apply plugin: 'project-report' android { - compileSdkVersion 23 - buildToolsVersion '25.0.0' + compileSdkVersion 27 + buildToolsVersion '27.0.2' defaultConfig { applicationId "com.example.mapdemo" minSdkVersion 15 - targetSdkVersion 23 + targetSdkVersion 27 versionCode 1 versionName "1.0" } @@ -21,7 +22,8 @@ android { dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) - testCompile 'junit:junit:4.12' - compile 'com.android.support:appcompat-v7:23.4.0' - compile 'com.google.android.gms:play-services-maps:11.4.0' + testImplementation 'junit:junit:4.12' + implementation 'com.android.support:appcompat-v7:27.0.2' + implementation 'com.google.android.gms:play-services-maps:11.6.2' + implementation 'com.android.support:support-v4:27.0.2' } diff --git a/ApiDemos/build.gradle b/ApiDemos/build.gradle index 8974ea0d..34e457f6 100644 --- a/ApiDemos/build.gradle +++ b/ApiDemos/build.gradle @@ -2,10 +2,11 @@ buildscript { repositories { + google() jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:2.3.1' + classpath 'com.android.tools.build:gradle:3.0.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -15,6 +16,7 @@ buildscript { allprojects { repositories { mavenLocal() + google() jcenter() } }