Adding dfu packet to proguard rules

Fixes DFU FILE ERROR (parsing manifest failed as the required classes
were removed)
This commit is contained in:
Aleksander Nowakowski
2017-11-07 09:39:33 +01:00
parent 35391d5047
commit 29af8d6826
3 changed files with 9 additions and 5 deletions

View File

@@ -8,8 +8,8 @@ android {
applicationId "no.nordicsemi.android.nrftoolbox"
minSdkVersion 18
targetSdkVersion 26
versionCode 62
versionName "2.5.0"
versionCode 63
versionName "2.5.1"
resConfigs "en"
}
buildTypes {

View File

@@ -89,4 +89,8 @@
-dontnote org.apache.http.params.**
-dontnote org.apache.http.conn.scheme.**
-dontnote org.apache.http.conn.**
-dontnote android.net.http.**
-dontnote android.net.http.**
# DFU Library
-keep class no.nordicsemi.android.dfu.** { *; }

View File

@@ -10,8 +10,8 @@ android {
applicationId "no.nordicsemi.android.nrftoolbox"
minSdkVersion 23
targetSdkVersion 26
versionCode 262506201 // target: 26, version: 2.5.0, build: 62, multi-APK: 01
versionName "2.5.0"
versionCode 262516201 // target: 26, version: 2.5.1, build: 62, multi-APK: 01
versionName "2.5.1"
resConfigs "en"
}
lintOptions {