Add a release-derived optimized TV comparison variant
This commit is contained in:
parent
93a41ea2d3
commit
427b18cdc5
4 changed files with 93 additions and 0 deletions
|
|
@ -133,6 +133,14 @@ configure<ApplicationExtension> {
|
|||
isDebuggable = true
|
||||
applicationIdSuffix = ".debug"
|
||||
}
|
||||
|
||||
create("optimized") {
|
||||
initWith(getByName("release"))
|
||||
signingConfig = signingConfigs.getByName("debug")
|
||||
applicationIdSuffix = ".opt"
|
||||
versionNameSuffix = "-opt"
|
||||
matchingFallbacks += "release"
|
||||
}
|
||||
}
|
||||
flavorDimensions += "version"
|
||||
productFlavors {
|
||||
|
|
@ -199,6 +207,9 @@ configure<ApplicationExtension> {
|
|||
kotlin.directories += "$buildDir/generated/seerr_api/src/main/kotlin"
|
||||
kotlin.directories += "src/wolfskin/java"
|
||||
}
|
||||
getByName("optimized") {
|
||||
kotlin.directories += "src/release/java"
|
||||
}
|
||||
}
|
||||
|
||||
testOptions {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue