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
|
name: release
|
||||||
path: app/build/outputs/apk/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
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: debug
|
name: debug
|
||||||
|
|
5
.github/workflows/Build-Release.yml
vendored
5
.github/workflows/Build-Release.yml
vendored
|
@ -37,6 +37,11 @@ jobs:
|
||||||
name: release
|
name: release
|
||||||
path: app/build/outputs/apk/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
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: debug
|
name: debug
|
||||||
|
|
|
@ -109,6 +109,11 @@ android {
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
create("releaseNoMinify") {
|
||||||
|
initWith(getByName("release"))
|
||||||
|
isMinifyEnabled = false
|
||||||
|
isShrinkResources = false
|
||||||
|
}
|
||||||
debug {
|
debug {
|
||||||
versionNameSuffix = vnSuffix
|
versionNameSuffix = vnSuffix
|
||||||
applicationIdSuffix = ".debug"
|
applicationIdSuffix = ".debug"
|
||||||
|
|
|
@ -15,6 +15,9 @@ android {
|
||||||
release {
|
release {
|
||||||
isMinifyEnabled = false
|
isMinifyEnabled = false
|
||||||
}
|
}
|
||||||
|
create("releaseNoMinify") {
|
||||||
|
isMinifyEnabled = false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility = JavaVersion.VERSION_17
|
sourceCompatibility = JavaVersion.VERSION_17
|
||||||
|
|
Loading…
Reference in New Issue
Block a user