Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit852da7f

Browse files
committed
chore: enable signing for local release builds
This enables a developer to build things like `devRelease` or `stagingRelease` to generate a minified and signed build for temporary testing sessions, which is currently impossible.
1 parentdd7a342 commit852da7f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎buildSrc/src/main/kotlin/scripts/variants.gradle.kts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,11 @@ android {
122122
isMinifyEnabled=true
123123
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"),"proguard-rules.pro")
124124
isDebuggable=false
125-
if (enableSigning)
126-
signingConfig= signingConfigs.getByName("release")
125+
signingConfig=if (enableSigning) {
126+
signingConfigs.getByName("release")
127+
}else {
128+
signingConfigs.getByName("debug")
129+
}
127130
}
128131
create(BuildTypes.COMPAT) {
129132
initWith(getByName(BuildTypes.RELEASE))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp