- 删除遗留的 androidApp/、shared/ 等 KMP 结构文件 - 将新的 app/、core/ 纯 Android 模块纳入版本控制 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
18 lines
513 B
Prolog
18 lines
513 B
Prolog
# Kotlin Metadata (required for KMP)
|
|
-keep class kotlin.Metadata { *; }
|
|
-keepattributes *Annotation*, Signature, InnerClasses, EnclosingMethod
|
|
|
|
# kotlinx.datetime
|
|
-keep class kotlinx.datetime.** { *; }
|
|
|
|
# tyme4kt (Chinese traditional calendar)
|
|
-keep class cn.tyme.** { *; }
|
|
|
|
# ViewModel (used by CalendarViewModel)
|
|
-keep class * extends androidx.lifecycle.ViewModel { *; }
|
|
|
|
# Keep entry point composables referenced by string name
|
|
-keepclassmembers class * {
|
|
@androidx.compose.runtime.Composable <methods>;
|
|
}
|