mirror of
https://github.com/kalarina-bit/Sparkledns.git
synced 2026-11-22 07:36:09 +00:00
Let R8 obfuscate release builds
Shrinks the dex further. Crash reports keep file names and line numbers; the mapping file restores the names and is kept with the CI artifacts.
This commit is contained in:
@@ -47,5 +47,7 @@ jobs:
|
|||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
name: apk
|
name: apk
|
||||||
path: app/build/outputs/apk/**/*.apk
|
path: |
|
||||||
|
app/build/outputs/apk/**/*.apk
|
||||||
|
app/build/outputs/mapping/release/mapping.txt
|
||||||
if-no-files-found: ignore
|
if-no-files-found: ignore
|
||||||
|
|||||||
Vendored
+3
-2
@@ -1,3 +1,4 @@
|
|||||||
# Readable stack traces in crash reports
|
# File names and line numbers stay in stack traces, names are obfuscated. To read a crash
|
||||||
|
# report, build the same release (builds are reproducible) and run
|
||||||
|
# retrace app/build/outputs/mapping/release/mapping.txt crash.txt
|
||||||
-keepattributes SourceFile,LineNumberTable
|
-keepattributes SourceFile,LineNumberTable
|
||||||
-dontobfuscate
|
|
||||||
|
|||||||
Reference in New Issue
Block a user