From fdf2c52ae8b53f6f71ff47f3943ae8a14158a118 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Mon, 8 Jan 2024 19:37:05 -0800 Subject: [PATCH] Update sdk, etc. --- build.gradle | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/build.gradle b/build.gradle index 32b6a52..b46a893 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ buildscript { - ext.kotlin_version = '1.7.10' + ext.kotlin_version = '1.9.0' repositories { maven { url "https://plugins.gradle.org/m2/" @@ -20,12 +20,11 @@ apply plugin: 'org.jetbrains.dokka-android' apply plugin: 'org.jlleitschuh.gradle.ktlint' android { - compileSdkVersion 33 - buildToolsVersion "30.0.3" - defaultConfig { + compileSdk 34 minSdkVersion 18 - targetSdkVersion 33 + targetSdkVersion 34 + buildToolsVersion = "34.0.0" } buildFeatures { @@ -60,6 +59,14 @@ android { useLegacyPackaging true } } + + compileOptions { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 + } + kotlinOptions { + jvmTarget = "18" + } } repositories { @@ -68,8 +75,8 @@ repositories { } dependencies { - implementation 'androidx.appcompat:appcompat:1.6.0' - implementation 'com.google.android.material:material:1.8.0' - implementation 'androidx.preference:preference-ktx:1.2.0' + implementation 'androidx.appcompat:appcompat:1.6.1' + implementation 'com.google.android.material:material:1.11.0' + implementation 'androidx.preference:preference-ktx:1.2.1' implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" }