Skip to content

Commit

Permalink
Add - LeakCanay + New Databinding lib
Browse files Browse the repository at this point in the history
  • Loading branch information
sumit-ingewar committed Oct 29, 2020
1 parent dd76634 commit d450c0f
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions depedencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ ext.app = [
]

ext.packageId = [
packageId: 'com.sumit.nytimesdemo',]
packageId: 'com.sumit.nytimesdemo',
]

ext.repos = {
RepositoryHandler handler ->
handler.google()
Expand Down Expand Up @@ -64,7 +66,7 @@ def libraries = [
// endregion

//region DATABINDING
dataBinding : "com.android.databinding:compiler:3.1.0-aplha06",
dataBinding : "com.android.databinding:compiler:3.2.0",
// endregion

//region LIFECYCLE
Expand Down Expand Up @@ -92,8 +94,12 @@ def libraries = [

//region TEST
junit : "junit:junit:4.12",
espresso : "androidx.test.espresso:espresso-core:3.2.0"
espresso : "androidx.test.espresso:espresso-core:3.2.0",
// endregion

//region UTIL
leakCanary : "com.squareup.leakcanary:leakcanary-android:2.2"
//endregion
]

static def addDependency(config, dependency) {
Expand Down Expand Up @@ -138,6 +144,7 @@ ext.appDepedencies = [
addDependency("kapt", libraries.glideCompiler),
addDependency("testImplementation", libraries.junit),
addDependency("androidTestImplementation", libraries.espresso),
addDependency("debugImplementation", libraries.leakCanary),
]

ext.coreDepedencies = [
Expand Down

0 comments on commit d450c0f

Please sign in to comment.