From a5f8c9abfd81e8a99f18a00697db1f0af8afc91a Mon Sep 17 00:00:00 2001 From: Leonard Date: Thu, 15 Feb 2024 16:41:54 +0100 Subject: [PATCH] Upgrade kotlin to 1.9.22 --- .idea/kotlinc.xml | 2 +- app/build.gradle | 11 +++++++---- build.gradle | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.idea/kotlinc.xml b/.idea/kotlinc.xml index 7e340a7..8d81632 100644 --- a/.idea/kotlinc.xml +++ b/.idea/kotlinc.xml @@ -1,6 +1,6 @@ - \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index 7e4612d..419eb0a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -3,11 +3,11 @@ apply plugin: 'com.android.application' apply plugin: 'kotlin-android' android { - compileSdk 29 + compileSdk 30 defaultConfig { applicationId "foss.cnugteren.nlweer" minSdkVersion 21 - targetSdkVersion 29 + targetSdkVersion 30 versionCode 11 versionName "1.9.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" @@ -19,13 +19,16 @@ android { } } compileOptions { - sourceCompatibility = 1.8 - targetCompatibility = 1.8 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } buildFeatures { viewBinding = true buildConfig = true } + kotlinOptions { + jvmTarget = '17' + } namespace 'foss.cnugteren.nlweer' } diff --git a/build.gradle b/build.gradle index c52ab97..3d21bff 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.kotlin_version = '1.6.21' + ext.kotlin_version = '1.9.22' repositories { google() mavenCentral()