Skip to content

Commit

Permalink
refactor: added dependency version in root project
Browse files Browse the repository at this point in the history
  • Loading branch information
ivary43 committed Mar 27, 2018
1 parent c2a3743 commit 877f300
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ android {
}

buildTypes {

debug {
versionNameSuffix " Debug"
debuggable true
Expand Down Expand Up @@ -59,7 +59,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
Expand All @@ -83,7 +83,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
Expand All @@ -103,10 +103,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
Expand All @@ -131,7 +131,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"

}

Expand Down
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}

0 comments on commit 877f300

Please sign in to comment.