mirror of
https://github.com/jrpie/Launcher.git
synced 2025-04-19 02:10:54 +02:00
add buildFlavor for accrescent
This commit is contained in:
parent
fa0c880342
commit
f08f357bb3
3 changed files with 41 additions and 1 deletions
|
@ -51,6 +51,29 @@ android {
|
|||
versionNameSuffix = "-debug"
|
||||
}
|
||||
}
|
||||
|
||||
flavorDimensions += "distribution"
|
||||
|
||||
productFlavors {
|
||||
create("default") {
|
||||
dimension = "distribution"
|
||||
getIsDefault().set(true)
|
||||
buildConfigField "boolean", "USE_ACCESSIBILITY_SERVICE", "true"
|
||||
}
|
||||
create("accrescent") {
|
||||
dimension = "distribution"
|
||||
applicationIdSuffix = ".accrescent"
|
||||
versionNameSuffix = "+accrescent"
|
||||
buildConfigField "boolean", "USE_ACCESSIBILITY_SERVICE", "false"
|
||||
}
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
accrescent {
|
||||
manifest.srcFile 'src/accrescent/AndroidManifest.xml'
|
||||
}
|
||||
}
|
||||
|
||||
namespace 'de.jrpie.android.launcher'
|
||||
buildFeatures {
|
||||
buildConfig true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue