summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurice Lam <yukl@google.com>2017-12-14 11:07:05 -0800
committerMaurice Lam <yukl@google.com>2017-12-14 18:29:28 -0800
commit6cd5a7230264c8b0fc2969ff70192eb7b165c689 (patch)
tree49deef9a12894520fdb2b90920b3c04ccc31d98f
parenta820a7f85d1e7933a9d3e8b6d1e80fd7a1ca37bf (diff)
downloadsetupwizard-6cd5a7230264c8b0fc2969ff70192eb7b165c689.tar.gz
Mark platform build as deprecated on gradle
Test: ./gradlew buildProjectFull Bug: 33298315 Change-Id: I265ab8468a75dbe23749259a36f9aba06abbc8ed
-rw-r--r--library/rules.gradle8
-rw-r--r--library/self.gradle2
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']
}