Commit 8524fb34 by olly Committed by Oliver Woodman

Use flavorDimensions for external demo app

- This is soon becoming mandatory.
- It also looks like future versions of com.android.tools.build
  are being distributed via Google's Maven repository.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=166058299
parent cc5cfd46
Showing with 11 additions and 2 deletions
...@@ -14,6 +14,9 @@ ...@@ -14,6 +14,9 @@
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
maven {
url "https://maven.google.com"
}
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.3' classpath 'com.android.tools.build:gradle:2.3.3'
......
...@@ -39,9 +39,15 @@ android { ...@@ -39,9 +39,15 @@ android {
disable 'MissingTranslation' disable 'MissingTranslation'
} }
flavorDimensions "extensions"
productFlavors { productFlavors {
noExtensions noExtensions {
withExtensions dimension "extensions"
}
withExtensions {
dimension "extensions"
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment