Skip to content

Commit

Permalink
Adds data binding
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbutcher committed Jul 31, 2018
1 parent db57e3f commit 24f8c81
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
10 changes: 9 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
*/

apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'io.fabric'
apply plugin: 'kotlin-kapt'

android {
compileSdkVersion versions.compileSdk
Expand All @@ -38,6 +39,11 @@ android {
crashlyticsEnabled: false
]
}

dataBinding {
enabled true
}

buildTypes {
release {
minifyEnabled true
Expand All @@ -46,10 +52,12 @@ android {
manifestPlaceholders += [crashlyticsEnabled: true]
}
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

dynamicFeatures = [':about', ':designernews', ':dribbble']
}

Expand Down
4 changes: 4 additions & 0 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ android {

}

dataBinding {
enabled true
}

buildTypes {
release {
consumerProguardFiles 'proguard-rules.pro'
Expand Down
5 changes: 5 additions & 0 deletions dribbble/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

apply plugin: 'com.android.dynamic-feature'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'

android {
compileSdkVersion versions.compileSdk
Expand All @@ -29,6 +30,10 @@ android {
manifestPlaceholders = [filesAuthority: filesAuthorityValue]
}

dataBinding {
enabled true
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
Expand Down

0 comments on commit 24f8c81

Please sign in to comment.