1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-03 17:02:13 +01:00

Added Nordic DFU library to dependencies

This commit is contained in:
TaaviE 2020-09-28 17:19:24 +03:00
parent 46a1d2908a
commit 33f3144e9a
2 changed files with 5 additions and 0 deletions

View File

@ -75,6 +75,7 @@ dependencies {
implementation "androidx.gridlayout:gridlayout:1.0.0" implementation "androidx.gridlayout:gridlayout:1.0.0"
implementation "com.google.android.material:material:1.1.0" implementation "com.google.android.material:material:1.1.0"
implementation "androidx.palette:palette:1.0.0" implementation "androidx.palette:palette:1.0.0"
implementation "no.nordicsemi.android:dfu:1.11.0"
implementation("com.github.tony19:logback-android-classic:1.1.1-6") { implementation("com.github.tony19:logback-android-classic:1.1.1-6") {
exclude group: "com.google.android", module: "android" exclude group: "com.google.android", module: "android"
} }

View File

@ -35,8 +35,12 @@
-keep class **$Properties { *; } -keep class **$Properties { *; }
# Keep database migration classes accessed trough reflection
-keep class **.gadgetbridge.database.schema.* { *; } -keep class **.gadgetbridge.database.schema.* { *; }
# Keep Nordic DFU library
-keep class no.nordicsemi.android.dfu.** { *; }
# Keep dependency android-emojify (io.wax911.emojify) uses # Keep dependency android-emojify (io.wax911.emojify) uses
-keep class org.hamcrest.** { *; } -keep class org.hamcrest.** { *; }