-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add proguard rules and minor fixes
- Loading branch information
Showing
10 changed files
with
43 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# JSR 305 annotations are for embedding nullability information. | ||
-dontwarn javax.annotation.** | ||
|
||
# A resource is loaded with a relative path so the package of this class must be preserved. | ||
-adaptresourcefilenames okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz | ||
|
||
# Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java. | ||
-dontwarn org.codehaus.mojo.animal_sniffer.* | ||
|
||
# OkHttp platform used only on JVM and when Conscrypt and other security providers are available. | ||
-dontwarn okhttp3.internal.platform.** | ||
-dontwarn org.conscrypt.** | ||
-dontwarn org.bouncycastle.** | ||
-dontwarn org.openjsse.** | ||
|
||
# Kotlin serialization looks up the generated serializer classes through a function on companion | ||
# objects. The companions are looked up reflectively so we need to explicitly keep these functions. | ||
-keepclasseswithmembers class **.*$Companion { | ||
kotlinx.serialization.KSerializer serializer(...); | ||
} | ||
# If a companion has the serializer function, keep the companion field on the original type so that | ||
# the reflective lookup succeeds. | ||
-if class **.*$Companion { | ||
kotlinx.serialization.KSerializer serializer(...); | ||
} | ||
-keepclassmembers class <1>.<2> { | ||
<1>.<2>$Companion Companion; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
package base | ||
|
||
object Val { | ||
val version: String = "0.1.0" | ||
// FIXME: get version from gradle | ||
val version: String = "1.0.0" | ||
|
||
val targetLifeUpCloudVersion = "1.1.0+" | ||
val targetLifeUpCloudVersion = "1.1.1+" | ||
|
||
val targetLifeUpAndroidVersion = "1.91.0+" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters