feat: add releaseNoMinify buildType

This commit is contained in:
lisonge 2024-07-05 19:46:25 +08:00
parent 274f0e7f29
commit 990d6ce4d3
4 changed files with 18 additions and 0 deletions

View File

@ -44,6 +44,11 @@ jobs:
name: release
path: app/build/outputs/apk/release
- uses: actions/upload-artifact@v4
with:
name: releaseNoMinify
path: app/build/outputs/apk/releaseNoMinify
- uses: actions/upload-artifact@v4
with:
name: debug

View File

@ -37,6 +37,11 @@ jobs:
name: release
path: app/build/outputs/apk/release
- uses: actions/upload-artifact@v4
with:
name: releaseNoMinify
path: app/build/outputs/apk/releaseNoMinify
- uses: actions/upload-artifact@v4
with:
name: debug

View File

@ -109,6 +109,11 @@ android {
)
)
}
create("releaseNoMinify") {
initWith(getByName("release"))
isMinifyEnabled = false
isShrinkResources = false
}
debug {
versionNameSuffix = vnSuffix
applicationIdSuffix = ".debug"

View File

@ -15,6 +15,9 @@ android {
release {
isMinifyEnabled = false
}
create("releaseNoMinify") {
isMinifyEnabled = false
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17