trime/app/proguard-rules.pro

32 lines
1.0 KiB
Prolog

# 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
# disable obfuscation
-dontobfuscate
# Keep JNI interface
-keep class com.osfans.trime.core.* { *; }
# remove kotlin null checks
-assumenosideeffects class kotlin.jvm.internal.Intrinsics {
static void checkNotNull(...);
static void checkExpressionValueIsNotNull(...);
static void checkNotNullExpressionValue(...);
static void checkReturnedValueIsNotNull(...);
static void checkFieldIsNotNull(...);
static void checkParameterIsNotNull(...);
static void checkNotNullParameter(...);
}
# Uncomment this to preserve the line number information for
# debugging stack traces.
-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile