Skip to content

Commit 0f97627

Browse files
committed
try to fix Android Benchmark app
1 parent 6a77854 commit 0f97627

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
11
-dontwarn java.lang.ClassValue
22
-dontwarn javax.lang.model.element.Modifier
3+
# Keep instrumentation runner and test classes
4+
-keep class org.maplibre.android.InstrumentationRunner { *; }
5+
-keep class org.maplibre.android.** { *; }
6+
7+
# Keep test framework classes
8+
-keep class androidx.test.** { *; }
9+
-keep class android.test.** { *; }
10+
-keep class junit.** { *; }
11+
12+
# Keep annotation classes
13+
-keep class java.lang.annotation.** { *; }
14+
-keep interface java.lang.annotation.** { *; }
15+
16+
# Prevent method ID ordering issues
17+
-optimizations !code/allocation/variable

0 commit comments

Comments
 (0)