Skip to content

Commit 3e31c52

Browse files
committed
Add proguard rules and manual trigger
1 parent 2689806 commit 3e31c52

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.github/workflows/update-library.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Update Framework
33
on:
44
repository_dispatch:
55
types: [update-build]
6+
workflow_dispatch:
7+
68

79
jobs:
810
update_framework:

supercel/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ android {
3333
buildTypes {
3434
release {
3535
isMinifyEnabled = false
36+
consumerProguardFiles("proguard-rules.pro")
3637
proguardFiles(
3738
getDefaultProguardFile("proguard-android-optimize.txt"),
3839
"proguard-rules.pro"

supercel/proguard-rules.pro

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,8 @@
1818

1919
# If you keep the line number information, uncomment this to
2020
# hide the original source file name.
21-
#-renamesourcefileattribute SourceFile
21+
#-renamesourcefileattribute SourceFile
22+
23+
-dontwarn java.awt.*
24+
-keep class com.sun.jna.* { *; }
25+
-keepclassmembers class * extends com.sun.jna.* { public *; }

0 commit comments

Comments
 (0)