From 6cd5a7230264c8b0fc2969ff70192eb7b165c689 Mon Sep 17 00:00:00 2001 From: Maurice Lam Date: Thu, 14 Dec 2017 11:07:05 -0800 Subject: Mark platform build as deprecated on gradle Test: ./gradlew buildProjectFull Bug: 33298315 Change-Id: I265ab8468a75dbe23749259a36f9aba06abbc8ed --- library/rules.gradle | 8 ++++---- library/self.gradle | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/library/rules.gradle b/library/rules.gradle index 54ea68b..e261a4c 100644 --- a/library/rules.gradle +++ b/library/rules.gradle @@ -16,8 +16,8 @@ android { flavorDimensions 'compat' productFlavors { - // Platform version that will not include the compatibility libraries - platform { + // DEPRECATED: Platform version that will not include the compatibility libraries + platformDeprecated { dimension 'compat' minSdkVersion 23 } @@ -37,7 +37,7 @@ android { res.srcDirs = ['main/res'] } - platform { + platformDeprecated { java.srcDirs = ['platform/src'] res.srcDirs = ['platform/res'] } @@ -66,7 +66,7 @@ dependencies { // deps = ['project-name': 'com.example.group:project-name:1.0.0'] // } // - platformCompile deps['support-annotations'] + platformDeprecatedCompile deps['support-annotations'] gingerbreadCompatCompile deps['support-appcompat-v7'] gingerbreadCompatCompile deps['support-recyclerview-v7'] diff --git a/library/self.gradle b/library/self.gradle index a3e5334..6477171 100644 --- a/library/self.gradle +++ b/library/self.gradle @@ -22,7 +22,7 @@ android.sourceSets { } } - androidTestPlatform { + androidTestPlatformDeprecated { java.srcDirs = ['platform/test/src'] } -- cgit v1.2.3