From eaa4e5bef796cfb34e85ce2affe46cb054709697 Mon Sep 17 00:00:00 2001 From: Jay Ohms Date: Wed, 28 Feb 2024 15:13:11 -0500 Subject: [PATCH] Upgrade AGP, SDK version, Kotlin version and dependencies --- build.gradle | 4 ++-- gradle/wrapper/gradle-wrapper.properties | 3 ++- strada/build.gradle | 14 +++++++------- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/build.gradle b/build.gradle index 08791bb..8f318ac 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlinVersion = '1.7.20' + ext.kotlinVersion = '1.9.10' repositories { google() @@ -9,7 +9,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:8.1.0' + classpath 'com.android.tools.build:gradle:8.2.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 0c85a1f..2e1f731 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,7 @@ +#Wed Feb 28 14:58:13 EST 2024 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip networkTimeout=10000 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/strada/build.gradle b/strada/build.gradle index ed3a443..4527c67 100644 --- a/strada/build.gradle +++ b/strada/build.gradle @@ -41,11 +41,11 @@ repositories { } android { - compileSdkVersion 33 + compileSdk = 34 defaultConfig { minSdkVersion 24 - targetSdkVersion 33 + targetSdkVersion 34 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } @@ -87,16 +87,16 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation 'androidx.core:core-ktx:1.9.0' + implementation 'androidx.core:core-ktx:1.12.0' implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0' - implementation 'androidx.lifecycle:lifecycle-common:2.6.1' + implementation 'androidx.lifecycle:lifecycle-common:2.7.0' testImplementation 'junit:junit:4.13.2' testImplementation 'androidx.test:core:1.5.0' testImplementation 'org.assertj:assertj-core:3.24.2' - testImplementation 'androidx.lifecycle:lifecycle-runtime-testing:2.6.1' - testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.4" - testImplementation 'org.robolectric:robolectric:4.9.2' + testImplementation 'androidx.lifecycle:lifecycle-runtime-testing:2.7.0' + testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.3" + testImplementation 'org.robolectric:robolectric:4.11.1' testImplementation 'org.mockito:mockito-core:5.2.0' testImplementation 'com.nhaarman:mockito-kotlin:1.6.0' }