mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-18 07:59:25 +01:00
41 lines
1.3 KiB
Prolog
41 lines
1.3 KiB
Prolog
# Add project specific ProGuard rules here.
|
|
# By default, the flags in this file are appended to flags specified
|
|
# in /home/andi/Android/Sdk/tools/proguard/proguard-android.txt
|
|
# You can edit the include path and order by changing the proguardFiles
|
|
# directive in build.gradle.
|
|
#
|
|
# For more details, see
|
|
# http://developer.android.com/guide/developing/tools/proguard.html
|
|
|
|
# Add any project specific keep options here:
|
|
|
|
# Pebble BG-JS
|
|
-keepclassmembers class * {
|
|
@android.webkit.JavascriptInterface <methods>;
|
|
}
|
|
-keepclassmembers class nodomain.freeyourgadget.gadgetbridge.service.devices.pebble.webview.JSInterface {
|
|
public *;
|
|
}
|
|
-keepattributes JavascriptInterface
|
|
|
|
# https://github.com/tony19/logback-android/issues/29
|
|
-dontwarn javax.mail.**, javax.naming.Context, javax.naming.InitialContext
|
|
|
|
# To avoid any stacktrace ambiguity
|
|
-keepattributes SourceFile,LineNumberTable
|
|
|
|
# GreenDAO 2 - http://greenrobot.org/greendao/documentation/technical-faq/
|
|
-keepclassmembers class * extends de.greenrobot.dao.AbstractDao {
|
|
public static java.lang.String TABLENAME;
|
|
}
|
|
|
|
-keep class **$Properties
|
|
|
|
-keep class **$Properties { *; }
|
|
|
|
# Keep dependency android-emojify (io.wax911.emojify) uses
|
|
-keep class org.hamcrest.** { *; }
|
|
|
|
# Keep logback class
|
|
-keep class ch.qos.logback.classic.android.LogcatAppender
|
|
-keep class ch.qos.logback.core.rolling.RollingFileAppender |