From ba1332d1b4dd525a2ef313246482708cb2016052 Mon Sep 17 00:00:00 2001 From: Maurice Lam Date: Wed, 6 Dec 2017 12:55:23 -0800 Subject: Changes needed to upgrade to new gradle version - Add ignore for various lint errors that is introduced in the lint update - Remove GLIF Pixel themes as they are unused and causing lint errors - Add flavor dimension "compat" as it is now required - Replace *Compile with *Implementation in the gradle files, as needed by the newer Gradle version - Use build tools 27.0.0 to avoid the Gradle warning - Use new Robolectric configuration mechanism and removed our old hack, per http://robolectric.org/getting-started/ Reference: https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html Test: Existing tests pass Bug: 70287447 Change-Id: I505476ae3695cd06349766c5e6280299f779f272 --- tools/gradle/android.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/gradle/android.properties b/tools/gradle/android.properties index b4a1e0c..3795eee 100644 --- a/tools/gradle/android.properties +++ b/tools/gradle/android.properties @@ -1,6 +1,6 @@ // Set the default SDK and build tools version for all apps -compileSdkVersion 26 -buildToolsVersion = '26.0.0' +compileSdkVersion 27 +buildToolsVersion = '27.0.0' // enable Java7 compileOptions.sourceCompatibility JavaVersion.VERSION_1_7 -- cgit v1.2.3