Skip to content
This repository was archived by the owner on May 6, 2024. It is now read-only.

Commit a9b59b8

Browse files
author
Hamza Israr
committed
fix: Add Proguard Rules Enforced by Android Gradle Plugin
During the Gradle build process, we encountered missing Proguard rules specified in the "missing_rules.txt" file. To ensure proper code shrinking and obfuscation, we have now added these missing Proguard rules to our project. Fixes: LEARNER-9482
1 parent 6f5c627 commit a9b59b8

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

OpenEdXMobile/proguard-rules.pro

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,9 @@
3131

3232
# Keep Rule to hide the original source file name on stack trace
3333
-renamesourcefileattribute SourceFile
34+
35+
# Rules enforced by Android Gradle plugin.
36+
-dontwarn com.google.crypto.**
37+
-dontwarn com.google.protobuf.**
38+
-dontwarn com.huawei.hms.ads.**
39+
-dontwarn edu.umd.cs.findbugs.**

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ android.enableJetifier=true
1515
android.useAndroidX=true
1616
org.gradle.jvmargs=-Xmx2048M -Dkotlin.daemon.jvm.options\="-Xmx2048M"
1717
android.nonFinalResIds=false
18+
android.enableR8.fullMode=false

0 commit comments

Comments
 (0)