Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: added dependency version in root project #219

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ android {
}

buildTypes {

debug {
versionNameSuffix " Debug"
debuggable true
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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"

}

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'
}