chore: change apks output name for release builds
This commit is contained in:
parent
fff3f9e3f7
commit
400335325a
1 changed files with 12 additions and 0 deletions
|
@ -25,6 +25,18 @@ android {
|
||||||
testInstrumentationRunner = "dev.jdtech.jellyfin.HiltTestRunner"
|
testInstrumentationRunner = "dev.jdtech.jellyfin.HiltTestRunner"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
applicationVariants.all {
|
||||||
|
val variant = this
|
||||||
|
variant.outputs
|
||||||
|
.map { it as com.android.build.gradle.internal.api.BaseVariantOutputImpl }
|
||||||
|
.forEach { output ->
|
||||||
|
if (variant.buildType.name == "release") {
|
||||||
|
val outputFileName = "findroid-v${variant.versionName}-${variant.flavorName}-${output.getFilter("ABI")}.apk"
|
||||||
|
output.outputFileName = outputFileName
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
named("debug") {
|
named("debug") {
|
||||||
applicationIdSuffix = ".debug"
|
applicationIdSuffix = ".debug"
|
||||||
|
|
Loading…
Reference in a new issue