Skip to content

Commit a39feee

Browse files
committed
fix: proguard rules
1 parent c1619ff commit a39feee

File tree

4 files changed

+31
-3
lines changed

4 files changed

+31
-3
lines changed

app/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ android {
7575

7676
release {
7777
isDebuggable = false
78-
isMinifyEnabled = false
79-
isShrinkResources = false
78+
isMinifyEnabled = true
79+
isShrinkResources = true
8080
proguardFiles(
8181
getDefaultProguardFile("proguard-android-optimize.txt"),
8282
"proguard-rules.pro",

app/fdroid-rules.pro

+14
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,17 @@
2626
# Suppress warnings about missing classes if not all features are used
2727
-dontwarn java.lang.management.**
2828
-dontwarn sun.nio.ch.**
29+
30+
-dontwarn com.google.api.client.http.GenericUrl
31+
-dontwarn com.google.api.client.http.HttpHeaders
32+
-dontwarn com.google.api.client.http.HttpRequest
33+
-dontwarn com.google.api.client.http.HttpRequestFactory
34+
-dontwarn com.google.api.client.http.HttpResponse
35+
-dontwarn com.google.api.client.http.HttpTransport
36+
-dontwarn com.google.api.client.http.javanet.NetHttpTransport$Builder
37+
-dontwarn com.google.api.client.http.javanet.NetHttpTransport
38+
-dontwarn javax.lang.model.element.Modifier
39+
-dontwarn org.joda.time.Instant
40+
-dontwarn org.slf4j.impl.StaticLoggerBinder
41+
-dontwarn org.slf4j.impl.StaticMDCBinder
42+
-dontwarn org.slf4j.impl.StaticMarkerBinder

app/proguard-rules.pro

+14
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,17 @@
4545
# Suppress warnings about missing classes if not all features are used
4646
-dontwarn java.lang.management.**
4747
-dontwarn sun.nio.ch.**
48+
49+
-dontwarn com.google.api.client.http.GenericUrl
50+
-dontwarn com.google.api.client.http.HttpHeaders
51+
-dontwarn com.google.api.client.http.HttpRequest
52+
-dontwarn com.google.api.client.http.HttpRequestFactory
53+
-dontwarn com.google.api.client.http.HttpResponse
54+
-dontwarn com.google.api.client.http.HttpTransport
55+
-dontwarn com.google.api.client.http.javanet.NetHttpTransport$Builder
56+
-dontwarn com.google.api.client.http.javanet.NetHttpTransport
57+
-dontwarn javax.lang.model.element.Modifier
58+
-dontwarn org.joda.time.Instant
59+
-dontwarn org.slf4j.impl.StaticLoggerBinder
60+
-dontwarn org.slf4j.impl.StaticMDCBinder
61+
-dontwarn org.slf4j.impl.StaticMarkerBinder

versionCode.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1
1+
3

0 commit comments

Comments
 (0)