Split play and other version
This commit is contained in:
@@ -48,6 +48,14 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
flavorDimensions "vendor"
|
||||
productFlavors {
|
||||
play {
|
||||
}
|
||||
other {
|
||||
}
|
||||
}
|
||||
|
||||
splits {
|
||||
abi {
|
||||
enable true
|
||||
@@ -68,6 +76,8 @@ android {
|
||||
applicationVariants.configureEach { variant ->
|
||||
variant.outputs.configureEach {
|
||||
outputFileName = (outputFileName as String).replace("-release", "")
|
||||
outputFileName = (outputFileName as String).replace("-play", "")
|
||||
outputFileName = (outputFileName as String).replace("-other", "")
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -99,7 +109,7 @@ dependencies {
|
||||
exclude group: 'com.google.guava', module: 'guava'
|
||||
}
|
||||
implementation 'com.google.guava:guava:32.1.2-android'
|
||||
implementation 'com.google.android.play:app-update-ktx:2.1.0'
|
||||
playImplementation 'com.google.android.play:app-update-ktx:2.1.0'
|
||||
}
|
||||
|
||||
if (getProps("APPCENTER_TOKEN") != "") {
|
||||
|
||||
Reference in New Issue
Block a user