From 5303c1ab56ed2acbad3ec46ae4a3de290cc2f402 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Tue, 3 May 2022 16:10:30 +0200 Subject: Update gradle modules and dependencies --- main/build.gradle.kts | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'main/build.gradle.kts') diff --git a/main/build.gradle.kts b/main/build.gradle.kts index d7abaebb..6cc4141c 100644 --- a/main/build.gradle.kts +++ b/main/build.gradle.kts @@ -13,13 +13,13 @@ plugins { } android { - compileSdk = 31 + compileSdk = 32 //ndkVersion = "23.0.7599858" defaultConfig { minSdk = 16 - targetSdk = 31 + targetSdk = 32 versionCode = 189 versionName = "0.7.34" externalNativeBuild { @@ -161,10 +161,10 @@ android.applicationVariants.all(object : Action { dependencies { // https://maven.google.com/web/index.html // https://developer.android.com/jetpack/androidx/releases/core - val preferenceVersion = "1.1.1" - val coreVersion = "1.6.0" - val materialVersion = "1.1.0" - val fragment_version = "1.3.6" + val preferenceVersion = "1.2.0" + val coreVersion = "1.7.0" + val materialVersion = "1.5.0" + val fragment_version = "1.4.1" implementation("androidx.annotation:annotation:1.3.0") @@ -172,13 +172,13 @@ dependencies { // Is there a nicer way to do this? - dependencies.add("uiImplementation", "androidx.constraintlayout:constraintlayout:2.1.1") - dependencies.add("uiImplementation", "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.5.30") + dependencies.add("uiImplementation", "androidx.constraintlayout:constraintlayout:2.1.3") + dependencies.add("uiImplementation", "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.21") dependencies.add("uiImplementation", "androidx.cardview:cardview:1.0.0") dependencies.add("uiImplementation", "androidx.recyclerview:recyclerview:1.2.1") - dependencies.add("uiImplementation", "androidx.appcompat:appcompat:1.3.1") + dependencies.add("uiImplementation", "androidx.appcompat:appcompat:1.4.1") dependencies.add("uiImplementation", "com.github.PhilJay:MPAndroidChart:v3.1.0") - dependencies.add("uiImplementation", "com.squareup.okhttp3:okhttp:4.9.1") + dependencies.add("uiImplementation", "com.squareup.okhttp3:okhttp:4.9.3") dependencies.add("uiImplementation", "androidx.core:core:$coreVersion") dependencies.add("uiImplementation", "androidx.core:core-ktx:$coreVersion") dependencies.add("uiImplementation", "androidx.fragment:fragment-ktx:$fragment_version") @@ -186,10 +186,11 @@ dependencies { dependencies.add("uiImplementation", "androidx.preference:preference-ktx:$preferenceVersion") dependencies.add("uiImplementation", "com.google.android.material:material:$materialVersion") dependencies.add("uiImplementation", "androidx.webkit:webkit:1.4.0") - dependencies.add("uiImplementation", "androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1") - dependencies.add("uiImplementation", "androidx.lifecycle:lifecycle-runtime-ktx:2.3.1") + dependencies.add("uiImplementation", "androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1") + dependencies.add("uiImplementation", "androidx.lifecycle:lifecycle-runtime-ktx:2.4.1") + dependencies.add("uiImplementation", "androidx.multidex:multidex:2.0.1") - testImplementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.5.30") + testImplementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.21") testImplementation("junit:junit:4.13.2") testImplementation("org.mockito:mockito-core:3.9.0") testImplementation("org.robolectric:robolectric:4.5.1") -- cgit v1.2.3