Skip to content

Commit

Permalink
fix: Remove DataBinding dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pkeefe committed Sep 17, 2018
1 parent 608c1c3 commit 8631294
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
4 changes: 1 addition & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,4 @@ org.gradle.jvmargs=-Xmx1536m
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

android.databinding.enableV2=true
# org.gradle.parallel=true
8 changes: 2 additions & 6 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
defaultConfig {
minSdkVersion 15
targetSdkVersion 28
versionCode 1
versionName "1.0-alpha01"
versionCode 2
versionName "1.0-alpha02"
}

buildTypes {
Expand All @@ -19,10 +19,6 @@ android {
}
}

dataBinding {
enabled = true
}

}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion library/src/main/java/com/perculacreative/ktx/View.kt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.perculacreative.ktx

import android.app.Activity
import android.support.annotation.IdRes
import android.view.View
import androidx.annotation.IdRes
import androidx.fragment.app.Fragment

fun <T : View> Activity.bind(@IdRes idRes: Int): Lazy<T> {
Expand Down

0 comments on commit 8631294

Please sign in to comment.