File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 99buildscript {
1010
1111
12- ext. PLUGIN_VERSION = " 1.1.14 "
12+ ext. PLUGIN_VERSION = " 1.1.15 "
1313 ext. ATAK_VERSION = " 5.4.0"
1414
1515 def takdevVersion = ' 3.+'
Original file line number Diff line number Diff line change 120120-dontwarn java.lang.instrument.ClassFileTransformer
121121-dontwarn java.lang.ClassValue
122122-dontwarn android.content.res.XmlResourceParser
123+
124+
125+ # Keep kotlin.Pair class
126+ -keep class kotlin.Pair { *; }
127+
128+ # Keep your specific Meshtastic plugin classes if needed
129+ -keep class atakplugin.Meshtastic.** { *; }
130+
131+ # Optional: Keep class metadata for Kotlin (important if you use reflection or serialization)
132+ -keepattributes *Annotation*
133+ -keep class kotlin.Metadata { *; }
134+
135+ # If you're using Gson, Moshi, or Kotlinx.serialization
136+ -keep class **Kt$* { *; }
137+ -keepclassmembers class ** {
138+ *** Companion;
139+ }
140+
141+ # Keep all Kotlin text extension classes
142+ -keep class kotlin.text.** { *; }
143+
144+ # Keep all Kotlin runtime (core reflection and intrinsics)
145+ -keep class kotlin.** { *; }
146+ -dontwarn kotlin.**
147+
148+ # Retain Kotlin Metadata for reflection and serializers
149+ -keep class kotlin.Metadata { *; }
150+ -keepattributes KotlinMetadata
151+ -keepattributes *Annotation*
152+
153+ # Needed for kotlinx.serialization to work properly
154+ -keep class kotlinx.serialization.** { *; }
155+ -dontwarn kotlinx.serialization.**
You can’t perform that action at this time.
0 commit comments