diff --git a/build.gradle b/build.gradle index 145a198b..49e2da21 100644 --- a/build.gradle +++ b/build.gradle @@ -4,13 +4,13 @@ import com.android.build.gradle.api.ApplicationVariant import com.github.jk1.license.render.TextReportRenderer buildscript { - ext.kotlin_version = '1.5.31' + ext.kotlin_version = '1.6.0' repositories { mavenCentral() google() } dependencies { - classpath 'com.android.tools.build:gradle:7.0.2' + classpath 'com.android.tools.build:gradle:7.0.3' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } @@ -24,7 +24,7 @@ apply plugin: 'com.android.application' apply plugin: 'kotlin-android' android { - compileSdkVersion 29 + compileSdkVersion 31 defaultConfig { minSdkVersion 14 targetSdkVersion 29 @@ -138,7 +138,7 @@ Provider gitHashProvider = project.provider { } ext { - coroutines_version = '1.3.8' + coroutines_version = '1.5.0' } dependencies { @@ -156,18 +156,18 @@ dependencies { coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' implementation 'androidx.multidex:multidex:2.0.1' - implementation 'androidx.media:media:1.3.1' - implementation 'androidx.appcompat:appcompat:1.2.0' - implementation 'androidx.core:core-ktx:1.3.2' + implementation 'androidx.media:media:1.4.3' + implementation 'androidx.appcompat:appcompat:1.3.1' + implementation 'androidx.core:core-ktx:1.7.0' implementation 'androidx.preference:preference:1.1.1' - implementation 'androidx.recyclerview:recyclerview:1.2.0' + implementation 'androidx.recyclerview:recyclerview:1.2.1' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' implementation 'androidx.documentfile:documentfile:1.0.1' - implementation 'androidx.lifecycle:lifecycle-runtime:2.3.1' + implementation 'androidx.lifecycle:lifecycle-runtime:2.4.0' implementation "androidx.lifecycle:lifecycle-extensions:2.2.0" - implementation 'androidx.lifecycle:lifecycle-common-java8:2.3.1' + implementation 'androidx.lifecycle:lifecycle-common-java8:2.4.0' implementation 'androidx.gridlayout:gridlayout:1.0.0' - implementation 'com.google.android.material:material:1.3.0' + implementation 'com.google.android.material:material:1.4.0' implementation 'com.jakewharton:disklrucache:2.0.2' //For caching album art bitmaps implementation 'com.jaredrummler:android-device-names:1.1.9' //To get a human-friendly device name @@ -192,7 +192,7 @@ dependencies { implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version" // Testing - testImplementation 'junit:junit:4.12' + testImplementation 'junit:junit:4.13.1' testImplementation 'org.powermock:powermock-core:2.0.0' testImplementation 'org.powermock:powermock-module-junit4:2.0.0' testImplementation 'org.powermock:powermock-api-mockito2:2.0.0'