Initial commit: Android题库APP - Jetpack Compose + Retrofit
Some checks failed
Build and Release APK / build (push) Has been cancelled
Build and Release APK / release (push) Has been cancelled

This commit is contained in:
爱喝水的木子
2026-04-01 18:32:18 +08:00
commit 98fc3ff879
43 changed files with 3116 additions and 0 deletions

29
app/proguard-rules.pro vendored Normal file
View File

@@ -0,0 +1,29 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Retrofit
-dontwarn retrofit2.**
-keep class retrofit2.** { *; }
-keepattributes Signature
-keepattributes Exceptions
# Gson
-keepattributes Signature
-keepattributes *Annotation*
-dontwarn sun.misc.**
-keep class com.google.gson.** { *; }
-keep class * implements com.google.gson.TypeAdapterFactory
-keep class * implements com.google.gson.JsonSerializer
-keep class * implements com.google.gson.JsonDeserializer
# Keep model classes
-keep class cn.tiku.app.model.** { *; }
# OkHttp
-dontwarn okhttp3.**
-keep class okhttp3.** { *; }
-keep interface okhttp3.** { *; }