Skip to content
Merged
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
9 changes: 7 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ android {
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

}
buildTypes {
release {
minifyEnabled false
Expand All @@ -31,8 +36,8 @@ dependencies {
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', {
exclude group: 'com.android.support', module: 'support-annotations'
})
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation "androidx.appcompat:appcompat:$v_appcompat"
implementation "androidx.constraintlayout:constraintlayout:$v_constraintlayout"
testImplementation 'junit:junit:4.12'
implementation project(':rave_android')
implementation project(':rave_utils')
Expand Down
21 changes: 21 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.


buildscript {
repositories {
google()
Expand All @@ -11,6 +12,26 @@ buildscript {
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}

}

ext {
v_retrofit = "2.9.0"
v_logging_interceptor = "4.2.2"
v_converter_scalars = "2.6.2"
v_converter_gson = "2.6.2"
v_junit_test = "1.1.2"
v_espresso_core = "3.3.0"
v_appcompat = "1.3.0"
v_material = "1.3.0"
v_dagger = "2.27"
v_constraintlayout = "2.0.4"
v_annotation = "1.2.0"
v_parceler = "1.1.12"
v_aescrypt = "0.0.1"
v_legacy = "1.0.0"
v_mockito_core = "2.25.0"
v_mockito_inline = "2.13.0"
}

allprojects {
Expand Down
33 changes: 17 additions & 16 deletions rave_android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,28 @@ dependencies {
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', {
exclude group: 'com.android.support', module: 'support-annotations'
})
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.0.0'
implementation "androidx.appcompat:appcompat:$v_appcompat"
implementation "com.google.android.material:material:$v_material"
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.9.1'
implementation 'org.parceler:parceler-api:1.1.12'
annotationProcessor 'org.parceler:parceler:1.1.12'
implementation 'com.squareup.retrofit2:converter-scalars:2.1.0'
implementation 'com.scottyab:aescrypt:0.0.1'
implementation "com.squareup.retrofit2:retrofit:$v_retrofit"
implementation "com.squareup.retrofit2:converter-gson:$v_retrofit"
implementation "com.squareup.okhttp3:logging-interceptor:$v_logging_interceptor"
implementation "org.parceler:parceler-api:$v_parceler"
annotationProcessor "org.parceler:parceler:$v_parceler"
implementation "com.squareup.retrofit2:converter-scalars:$v_retrofit"
implementation "com.scottyab:aescrypt:$v_aescrypt"
testImplementation 'junit:junit:4.12'

// dagger 2
implementation 'com.google.dagger:dagger:2.17'
annotationProcessor 'com.google.dagger:dagger-compiler:2.17'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation "com.google.dagger:dagger:$v_dagger"
annotationProcessor "com.google.dagger:dagger-compiler:$v_dagger"
implementation "androidx.constraintlayout:constraintlayout:$v_constraintlayout"

testImplementation 'com.google.dagger:dagger:2.17'
testAnnotationProcessor 'com.google.dagger:dagger-compiler:2.17'
testImplementation 'org.mockito:mockito-core:2.25.0'
testImplementation 'org.mockito:mockito-inline:2.13.0'
testImplementation "com.google.dagger:dagger:$v_dagger"
testAnnotationProcessor "com.google.dagger:dagger-compiler:$v_dagger"
testImplementation "org.mockito:mockito-core:$v_mockito_core"
testImplementation "org.mockito:mockito-inline:$v_mockito_inline"

implementation 'androidx.cardview:cardview:1.0.0'
api project(':rave_remote')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ public final class BuildConfig {
public static final String BUILD_TYPE = "debug";
public static final String FLAVOR = "";
public static final int VERSION_CODE = 1;
public static final String VERSION_NAME = "2.1.30";
public static final String VERSION_NAME = "2.1.34";
}
8 changes: 4 additions & 4 deletions rave_cache/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ dependencies {
implementation project(':rave_java_commons')

//dagger
implementation 'com.google.dagger:dagger:2.27'
annotationProcessor 'com.google.dagger:dagger-compiler:2.27'
implementation "com.google.dagger:dagger:$v_dagger"
annotationProcessor "com.google.dagger:dagger-compiler:$v_dagger"

testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
androidTestImplementation "androidx.test.ext:junit:$v_junit_test"
androidTestImplementation "androidx.test.espresso:espresso-core:$v_espresso_core"
}
4 changes: 2 additions & 2 deletions rave_core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])

//dagger
implementation 'com.google.dagger:dagger:2.27'
annotationProcessor 'com.google.dagger:dagger-compiler:2.27'
implementation "com.google.dagger:dagger:$v_dagger"
annotationProcessor "com.google.dagger:dagger-compiler:$v_dagger"

//testing
testImplementation 'junit:junit:4.12'
Expand Down
6 changes: 3 additions & 3 deletions rave_java_commons/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ group = 'com.github.flutterwave'
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])

implementation 'com.squareup.retrofit2:converter-gson:2.6.2'
implementation "com.squareup.retrofit2:converter-gson:$v_retrofit"

//dagger
implementation 'com.google.dagger:dagger:2.27'
annotationProcessor 'com.google.dagger:dagger-compiler:2.27'
implementation "com.google.dagger:dagger:$v_dagger"
annotationProcessor "com.google.dagger:dagger-compiler:$v_dagger"
api project(':rave_core')

}
Expand Down
16 changes: 8 additions & 8 deletions rave_logger/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])

//dagger
implementation 'com.google.dagger:dagger:2.27'
annotationProcessor 'com.google.dagger:dagger-compiler:2.27'
implementation "com.google.dagger:dagger:$v_dagger"
annotationProcessor "com.google.dagger:dagger-compiler:$v_dagger"

//network
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.9.1'
implementation 'com.squareup.retrofit2:converter-scalars:2.1.0'
implementation "com.squareup.retrofit2:retrofit:$v_retrofit"
implementation "com.squareup.retrofit2:converter-gson:$v_retrofit"
implementation "com.squareup.okhttp3:logging-interceptor:$v_logging_interceptor"
implementation "com.squareup.retrofit2:converter-scalars:$v_retrofit"

//commons
implementation project(':rave_java_commons')

testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
androidTestImplementation "androidx.test.ext:junit:$v_junit_test"
androidTestImplementation "androidx.test.espresso:espresso-core:$v_espresso_core"
}
35 changes: 18 additions & 17 deletions rave_presentation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,28 @@ dependencies {
implementation project(path: ':rave_core')

//dagger
implementation 'com.google.dagger:dagger:2.27'
annotationProcessor 'com.google.dagger:dagger-compiler:2.27'
implementation "com.google.dagger:dagger:$v_dagger"
annotationProcessor "com.google.dagger:dagger-compiler:$v_dagger"

//Parcelizing
implementation 'org.parceler:parceler-api:1.1.12'
annotationProcessor 'org.parceler:parceler:1.1.12'
implementation "org.parceler:parceler-api:$v_parceler"
annotationProcessor "org.parceler:parceler:$v_parceler"

implementation 'com.scottyab:aescrypt:0.0.1'
implementation "com.scottyab:aescrypt:$v_aescrypt"

implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.9.1'
implementation 'com.squareup.retrofit2:converter-scalars:2.1.0'
//network
implementation "com.squareup.retrofit2:retrofit:$v_retrofit"
implementation "com.squareup.retrofit2:converter-gson:$v_retrofit"
implementation "com.squareup.okhttp3:logging-interceptor:$v_logging_interceptor"
implementation "com.squareup.retrofit2:converter-scalars:$v_retrofit"

implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation "androidx.appcompat:appcompat:$v_appcompat"
implementation "androidx.legacy:legacy-support-v4:$v_legacy"
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
testImplementation 'com.google.dagger:dagger:2.17'
testAnnotationProcessor 'com.google.dagger:dagger-compiler:2.17'
testImplementation 'org.mockito:mockito-core:2.25.0'
testImplementation 'org.mockito:mockito-inline:2.13.0'
androidTestImplementation "androidx.test.ext:junit:$v_junit_test"
androidTestImplementation "androidx.test.espresso:espresso-core:$v_espresso_core"
testImplementation "com.google.dagger:dagger:$v_dagger"
testAnnotationProcessor "com.google.dagger:dagger-compiler:$v_dagger"
testImplementation "org.mockito:mockito-core:$v_mockito_core"
testImplementation "org.mockito:mockito-inline:$v_mockito_inline"
}
18 changes: 9 additions & 9 deletions rave_remote/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ dependencies {
// implementation 'com.google.code.gson:gson:2.8.6'

//network
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.9.1'
implementation 'com.squareup.retrofit2:converter-scalars:2.1.0'
implementation "com.squareup.retrofit2:retrofit:$v_retrofit"
implementation "com.squareup.retrofit2:converter-gson:$v_retrofit"
implementation "com.squareup.okhttp3:logging-interceptor:$v_logging_interceptor"
implementation "com.squareup.retrofit2:converter-scalars:$v_retrofit"


api project(':rave_core')
Expand All @@ -43,11 +43,11 @@ dependencies {


//dagger
implementation 'com.google.dagger:dagger:2.27'
annotationProcessor 'com.google.dagger:dagger-compiler:2.27'
implementation "com.google.dagger:dagger:$v_dagger"
annotationProcessor "com.google.dagger:dagger-compiler:$v_dagger"

testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
implementation 'androidx.annotation:annotation:1.0.0'
androidTestImplementation "androidx.test.ext:junit:$v_junit_test"
androidTestImplementation "androidx.test.espresso:espresso-core:$v_espresso_core"
implementation "androidx.annotation:annotation:$v_annotation"
}
27 changes: 14 additions & 13 deletions rave_utils/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,26 @@ android {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])

implementation 'androidx.appcompat:appcompat:1.2.0'
implementation "androidx.appcompat:appcompat:$v_appcompat"
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'com.google.android.material:material:1.0.0'
androidTestImplementation "androidx.test.ext:junit:$v_junit_test"
androidTestImplementation "androidx.test.espresso:espresso-core:$v_espresso_core"
implementation "com.google.android.material:material:$v_material"

//network
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.9.1'
implementation 'com.squareup.retrofit2:converter-scalars:2.1.0'
implementation "com.squareup.retrofit2:retrofit:$v_retrofit"
implementation "com.squareup.retrofit2:converter-gson:$v_retrofit"
implementation "com.squareup.okhttp3:logging-interceptor:$v_logging_interceptor"
implementation "com.squareup.retrofit2:converter-scalars:$v_retrofit"
implementation 'com.squareup.retrofit2:converter-scalars:2.9.0'

// dagger 2
implementation 'com.google.dagger:dagger:2.17'
annotationProcessor 'com.google.dagger:dagger-compiler:2.17'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation "com.google.dagger:dagger:$v_dagger"
annotationProcessor "com.google.dagger:dagger-compiler:$v_dagger"
implementation "androidx.constraintlayout:constraintlayout:$v_constraintlayout"

testImplementation 'com.google.dagger:dagger:2.17'
testAnnotationProcessor 'com.google.dagger:dagger-compiler:2.17'
testImplementation "com.google.dagger:dagger:$v_dagger"
testAnnotationProcessor "com.google.dagger:dagger-compiler:$v_dagger"
testImplementation 'org.mockito:mockito-core:2.25.0'
testImplementation 'org.mockito:mockito-inline:2.13.0'

Expand Down