Skip to content

Commit

Permalink
#1274 add debug_release build type that does not alter the package na…
Browse files Browse the repository at this point in the history
…me so can develop and test billing at the same time
  • Loading branch information
sds100 committed Oct 16, 2024
1 parent 121f4f8 commit 00ed19c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
14 changes: 13 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,18 @@ android {
versionNameSuffix "-debug"
}

// Do not alter the package name so can test revenuecat and billing while developing.
debug_release {
minifyEnabled false
versionNameSuffix "-debug"
signingConfig signingConfigs.debug

/*
This is required because the splitties library does not have a debug_release build type.
*/
matchingFallbacks = ["debug"]
}

ci {
postprocessing {
removeUnusedCode true
Expand All @@ -65,7 +77,7 @@ android {
}

/*
This is required because the splitties library doesn"t have a ci build type.
This is required because the splitties library does not have a ci build type.
*/
matchingFallbacks = ["debug"]

Expand Down
3 changes: 3 additions & 0 deletions systemstubs/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ android {
"proguard-rules.pro",
)
}

create("debug_release") {
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
Expand Down

0 comments on commit 00ed19c

Please sign in to comment.