Browse Source

Upgrade dependencies

pipelines/135724
Geoffrey Métais 5 years ago
committed by Nicolas Pomepuy
parent
commit
a82f3994b4
  1. 6
      application/mediadb/build.gradle
  2. 6
      application/moviepedia/build.gradle
  3. 15
      build.gradle

6
application/mediadb/build.gradle

@ -63,9 +63,9 @@ dependencies {
implementation "androidx.appcompat:appcompat:$rootProject.ext.appCompatVersion" implementation "androidx.appcompat:appcompat:$rootProject.ext.appCompatVersion"
implementation "androidx.core:core-ktx:$rootProject.ext.androidxCoreVersion" implementation "androidx.core:core-ktx:$rootProject.ext.androidxCoreVersion"
testImplementation 'junit:junit:4.12' testImplementation 'junit:junit:4.13'
androidTestImplementation 'androidx.test.ext:junit:1.1.1' androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
//Room //Room
implementation "androidx.room:room-ktx:$rootProject.ext.roomVersion" implementation "androidx.room:room-ktx:$rootProject.ext.roomVersion"
kapt ('org.xerial:sqlite-jdbc:3.34.0') kapt ('org.xerial:sqlite-jdbc:3.34.0')

6
application/moviepedia/build.gradle

@ -66,9 +66,9 @@ dependencies {
implementation "com.squareup.moshi:moshi-adapters:$rootProject.ext.moshi" implementation "com.squareup.moshi:moshi-adapters:$rootProject.ext.moshi"
implementation("com.squareup.okhttp3:logging-interceptor:4.2.1") implementation("com.squareup.okhttp3:logging-interceptor:4.2.1")
testImplementation 'junit:junit:4.12' testImplementation 'junit:junit:4.13'
androidTestImplementation 'androidx.test.ext:junit:1.1.1' androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
} }
static def getMoviepediaUrl(project) { static def getMoviepediaUrl(project) {

15
build.gradle

@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules. // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript { buildscript {
ext.android_plugin_version = '4.1.1' ext.android_plugin_version = '4.1.1'
ext.kotlin_version = '1.4.20' ext.kotlin_version = '1.4.31'
ext.kotlinx_version = '1.4.1' ext.kotlinx_version = '1.4.1'
repositories { repositories {
flatDir dirs: "gradle/plugins" flatDir dirs: "gradle/plugins"
@ -46,13 +46,13 @@ ext {
androidxLegacyVersion = '1.0.0' androidxLegacyVersion = '1.0.0'
androidxCoreVersion = '1.3.2' androidxCoreVersion = '1.3.2'
appCompatVersion = '1.2.0' appCompatVersion = '1.2.0'
lifecycleVersion = '2.3.0' lifecycleVersion = '2.3.1'
androidxPreferencesVersion = '1.1.1' androidxPreferencesVersion = '1.1.1'
androidxVersion = '1.1.0' androidxVersion = '1.1.0'
androidxActivityVersion = '1.2.1' androidxActivityVersion = '1.2.2'
androidxFragmentVersion = '1.3.1' androidxFragmentVersion = '1.3.3'
androidxAnnotationVersion = '1.1.0' androidxAnnotationVersion = '1.2.0'
androidxRecyclerviewVersion = '1.1.0' androidxRecyclerviewVersion = '1.2.0'
androidxMediaVersion = '1.1.0' androidxMediaVersion = '1.1.0'
androidxLeanbackVersion = '1.0.0' androidxLeanbackVersion = '1.0.0'
//fixme : When we update this dep, please verify of this issue is fixed: https://github.com/material-components/material-components-android/issues/1086 //fixme : When we update this dep, please verify of this issue is fixed: https://github.com/material-components/material-components-android/issues/1086
@ -66,7 +66,8 @@ ext {
pagingVersion = '2.1.2' pagingVersion = '2.1.2'
junitVersion = '4.13' junitVersion = '4.13'
mockito = '2.25.0' mockito = '2.25.0'
retrofit = '2.6.1' //Retrofit 2.7 drops Android 5 support
retrofit = '2.6.4'
moshi = '1.8.0' moshi = '1.8.0'
powerMock = '2.0.2' powerMock = '2.0.2'
espressoVersion = '3.3.0' espressoVersion = '3.3.0'

Loading…
Cancel
Save