diff --git a/app/build.gradle b/app/build.gradle index 2f62571..01a7d48 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -17,7 +17,6 @@ android { } buildTypes { - debug { versionNameSuffix " Debug" debuggable true @@ -59,7 +58,7 @@ android { dependencies { def daggerCompiler = "com.google.dagger:dagger-compiler:$rootProject.daggerVersion" - def jUnit = "junit:junit:4.12" + def jUnit = "junit:junit:$rootProject.junitVersion" def mockito = "org.mockito:mockito-core:$rootProject.mockitoVersion" // Support Dependencies @@ -83,7 +82,7 @@ dependencies { implementation "com.squareup.okhttp3:logging-interceptor:$rootProject.okHttp3Version" //Glide for loading the images - implementation 'com.github.bumptech.glide:glide:3.7.0' + implementation "com.github.bumptech.glide:glide:$rootProject.glideVersion" implementation 'de.hdodenhof:circleimageview:2.1.0' // Dagger 2 Dependencies @@ -103,10 +102,10 @@ dependencies { } //Sticky header RecyclerView - implementation 'org.zakariya.stickyheaders:stickyheaders:0.7.6' + implementation "org.zakariya.stickyheaders:stickyheaders:$rootProject.stickyheaderVersion" //Material Stepper UI library - implementation 'com.stepstone.stepper:material-stepper:3.3.0' + implementation "com.stepstone.stepper:material-stepper:$rootProject.materialstepperVersion" // Instrumentation test dependencies androidTestImplementation jUnit @@ -131,7 +130,7 @@ dependencies { testImplementation "org.hamcrest:hamcrest-core:$rootProject.hamcrestVersion" testImplementation "org.hamcrest:hamcrest-library:$rootProject.hamcrestVersion" testImplementation "org.hamcrest:hamcrest-integration:$rootProject.hamcrestVersion" - testImplementation 'org.robolectric:robolectric:3.1' + testImplementation "org.robolectric:robolectric:$rootProject.robolectricVersion" } diff --git a/build.gradle b/build.gradle index 57bcbc9..920489d 100644 --- a/build.gradle +++ b/build.gradle @@ -51,4 +51,8 @@ ext { runnerVersion = '0.5' rulesVersion = '0.5' espressoVersion = '2.2.2' + glideVersion = '3.7.0' + materialstepperVersion = '3.3.0' + robolectricVersion = '3.1' + stickyheaderVersion = '0.7.6' }