Skip to content

Commit 0855b17

Browse files
author
Daniel Novak
authored
Merge pull request #26 from inloop/proguard_databinding
add proguard rules for data binding
2 parents e0919cd + 50aba64 commit 0855b17

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

library/build.gradle

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,13 @@ android {
1010
targetSdkVersion 24
1111
versionCode 1
1212
versionName VERSION_NAME
13+
consumerProguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
1314
}
1415
compileOptions {
1516
sourceCompatibility JavaVersion.VERSION_1_7
1617
targetCompatibility JavaVersion.VERSION_1_7
1718
}
1819
buildTypes {
19-
release {
20-
minifyEnabled false
21-
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
22-
}
2320
}
2421

2522
dataBinding {

library/proguard-rules.pro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@
1515
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
1616
# public *;
1717
#}
18+
-dontwarn android.databinding.**
19+
-dontwarn eu.inloop.viewmodel.binding.**

0 commit comments

Comments
 (0)