Skip to content

Commit 0220d43

Browse files
authored
Signing instructions (#245)
1 parent cd3984a commit 0220d43

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

app/build.gradle.kts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,11 @@ android {
4848
}
4949
isMinifyEnabled = false
5050
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
51+
// If signing.properties file not found, gradle will build an unsigned APK.
52+
// For release builds, provide the required "signingPropsFilePath" for a signed APK, using:
53+
// ./gradlew assembleRelease -PsigningPropsFilePath=absolute-file-path/signing.properties
5154
if (signingPropsFile.exists())
5255
signingConfig = signingConfigs.getByName("esriSignature")
53-
else {
54-
Log.e(
55-
tag = "GradleSigningException",
56-
message = "signing.properties file not found: ${signingPropsFile.absolutePath}, this will build an unsigned APK.\n" +
57-
"Please provide the required \"signingPropsFilePath\" for a signed APK, using:\n" +
58-
"./gradlew assembleRelease -PsigningPropsFilePath=absolute-file-path/signing.properties"
59-
)
60-
}
61-
6256
}
6357
}
6458

0 commit comments

Comments
 (0)