From ec115a3db0f88268a1ceba75fa1c8e61972119f4 Mon Sep 17 00:00:00 2001 From: Andrew Scull Date: Fri, 2 Jun 2017 15:49:30 +0100 Subject: [PATCH] Update build config. For new version of Gradle and Android O. --- app/build.gradle | 10 +++++----- build.gradle | 8 +++++++- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 445f3f25..2bd4c203 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -64,9 +64,9 @@ android { } dependencies { - compile 'com.android.support:preference-v14:26.+' - compile 'com.android.support:recyclerview-v7:26.+' - compile 'com.android.support:support-v13:26.+' - compile 'com.google.android.gms:play-services-safetynet:+' - compile(name:'setup-wizard-lib-platform-release', ext:'aar') + api 'com.android.support:preference-v14:26.+' + api 'com.android.support:recyclerview-v7:26.+' + api 'com.android.support:support-v13:26.+' + api 'com.google.android.gms:play-services-safetynet:+' + api(name:'setup-wizard-lib-platform-release', ext:'aar') } diff --git a/build.gradle b/build.gradle index 266ad3f6..f7aab2ee 100644 --- a/build.gradle +++ b/build.gradle @@ -3,9 +3,12 @@ buildscript { repositories { jcenter() + maven { + url 'https://maven.google.com' + } } dependencies { - classpath 'com.android.tools.build:gradle:3.0.0-alpha1' + classpath 'com.android.tools.build:gradle:3.0.0-alpha2' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -15,5 +18,8 @@ buildscript { allprojects { repositories { jcenter() + maven { + url 'https://maven.google.com' + } } }