mirror of
https://github.com/gkd-kit/gkd.git
synced 2024-11-16 11:42:22 +08:00
feat: add releaseNoMinify buildType
This commit is contained in:
parent
274f0e7f29
commit
990d6ce4d3
5
.github/workflows/Build-Apk.yml
vendored
5
.github/workflows/Build-Apk.yml
vendored
|
@ -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
|
||||
|
|
5
.github/workflows/Build-Release.yml
vendored
5
.github/workflows/Build-Release.yml
vendored
|
@ -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
|
||||
|
|
|
@ -109,6 +109,11 @@ android {
|
|||
)
|
||||
)
|
||||
}
|
||||
create("releaseNoMinify") {
|
||||
initWith(getByName("release"))
|
||||
isMinifyEnabled = false
|
||||
isShrinkResources = false
|
||||
}
|
||||
debug {
|
||||
versionNameSuffix = vnSuffix
|
||||
applicationIdSuffix = ".debug"
|
||||
|
|
|
@ -15,6 +15,9 @@ android {
|
|||
release {
|
||||
isMinifyEnabled = false
|
||||
}
|
||||
create("releaseNoMinify") {
|
||||
isMinifyEnabled = false
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
|
|
Loading…
Reference in New Issue
Block a user