Skip to content

Commit 71ec70a

Browse files
committed
fix build
1 parent dbbcb9d commit 71ec70a

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/build-android.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ jobs:
2121
distribution: temurin
2222
java-version: 21
2323

24+
- name: Create Keystore
25+
env:
26+
KEYSTORE: ${{ secrets.KEYSTORE_BASE64 }}
27+
run: echo "${KEYSTORE// /}" | base64 -d > keystore.jks
28+
2429
- name: Setup Gradle
2530
uses: gradle/actions/setup-gradle@v4
2631

@@ -44,11 +49,6 @@ jobs:
4449
continue-on-error: true
4550
run: ./gradlew build
4651

47-
- name: Create Keystore
48-
env:
49-
KEYSTORE: ${{ secrets.KEYSTORE_BASE64 }}
50-
run: echo "${KEYSTORE// /}" | base64 -d > keystore.jks
51-
5252
- name: Build Release APK
5353
run: ./gradlew composeApp:assembleRelease
5454
env:

composeApp/src/androidMain/proguard-rules.pro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
-keepattributes SourceFile,LineNumberTable # Keep file names and line numbers.
22
-keep public class * extends java.lang.Exception # Optional: Keep custom exceptions.
33
-dontwarn com.google.android.gms.common.annotation.NoNullnessRewrite # Faulty Review Dependency Release
4+
-dontwarn dev.reformator.bytecodeprocessor.intrinsics.ClassNameConstant # Stacktrace Decoroutinator
5+
-dontwarn dev.reformator.bytecodeprocessor.intrinsics.MethodNameConstant # Stacktrace Decoroutinator
46

57
# Keep `Companion` object fields of serializable classes.
68
# This avoids serializer lookup through `getDeclaredClasses` as done for named companion objects.

0 commit comments

Comments
 (0)