This is an automated email from the ASF dual-hosted git repository.
rajanmaurya154 pushed a commit to branch development
in repository https://gitbox.apache.org/repos/asf/fineract-cn-mobile.git
The following commit(s) were added to refs/heads/development by this push:
new c5a4a4d refactor: Added dependencies version in root project
c5a4a4d is described below
commit c5a4a4db8acf335751cb0484fd1415dc0c459087
Author: Rajavamsi11 <[email protected]>
AuthorDate: Thu Jan 31 22:44:53 2019 +0530
refactor: Added dependencies version in root project
---
app/build.gradle | 16 ++++++++--------
build.gradle | 7 +++++++
2 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/app/build.gradle b/app/build.gradle
index ae52f98..5ffb247 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -70,7 +70,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
@@ -88,7 +88,7 @@ dependencies {
//android-job
implementation "com.evernote:android-job:$androidJobVersion"
- implementation 'com.github.therajanmaurya:Sweet-Error:1.0.0'
+ implementation
"com.github.therajanmaurya:Sweet-Error:$rootProject.sweetErrorVersion"
implementation
"com.android.support:support-v4:$rootProject.supportLibraryVersion"
kapt "com.github.Raizlabs.DBFlow:dbflow-processor:${dbflowVersion}"
@@ -110,8 +110,8 @@ dependencies {
implementation
"com.squareup.okhttp3:logging-interceptor:$rootProject.okHttp3Version"
//Glide for loading the images
- implementation 'com.github.bumptech.glide:glide:3.7.0'
- implementation 'de.hdodenhof:circleimageview:2.1.0'
+ implementation "com.github.bumptech.glide:glide:$rootProject.glideVersion"
+ implementation
"de.hdodenhof:circleimageview:$rootProject.circleImageviewVersion"
// Dagger 2 Dependencies
implementation "com.google.dagger:dagger:$rootProject.daggerVersion"
@@ -130,13 +130,13 @@ dependencies {
}
//Sticky header RecyclerView
- implementation 'org.zakariya.stickyheaders:stickyheaders:0.7.6'
+ implementation
"org.zakariya.stickyheaders:stickyheaders:$rootProject.sticyHeaderVersion"
// Compressor for Image Compression
- implementation 'id.zelory:compressor:2.1.0'
+ implementation "id.zelory:compressor:$rootProject.compressorVersion"
//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
@@ -161,7 +161,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.roboElectricVersion"
}
diff --git a/build.gradle b/build.gradle
index 911d980..26fe9b3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -61,4 +61,11 @@ ext {
runnerVersion = '0.5'
rulesVersion = '0.5'
espressoVersion = '3.0.2'
+ sweetErrorVersion = '1.0.0'
+ glideVersion = '3.7.0'
+ materialStepperVersion = '3.3.0'
+ sticyHeaderVersion = '0.7.6'
+ roboElectricVersion = '3.1'
+ circleImageviewVersion = '2.1.0'
+ compressorVersion = '2.1.0'
}