From f372b6a62975bd5d15928f6f0fb2eec9205dfd95 Mon Sep 17 00:00:00 2001 From: lynxnb Date: Wed, 15 Feb 2023 19:25:21 +0100 Subject: [PATCH] Update Kotlin to 1.8.10 + dependencies --- app/build.gradle | 8 ++++---- build.gradle | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 0dda02c2..e6cf2d50 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,10 +1,10 @@ plugins { id 'com.android.application' - id 'kotlin-android' + id 'org.jetbrains.kotlin.plugin.serialization' version "$kotlin_version" + id 'org.jetbrains.kotlin.android' id 'kotlin-kapt' id 'com.google.dagger.hilt.android' id 'idea' - id 'org.jetbrains.kotlin.plugin.serialization' version "$kotlin_version" } idea.module { @@ -161,7 +161,7 @@ android { dependencies { /* Google */ implementation 'androidx.core:core-ktx:1.9.0' - implementation 'androidx.appcompat:appcompat:1.6.0' + implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.preference:preference-ktx:1.2.0' implementation 'androidx.activity:activity-ktx:1.6.1' @@ -180,7 +180,7 @@ dependencies { implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1" /* JetBrains */ - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" + implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" /* Other Java */ implementation 'info.debatty:java-string-similarity:2.0.0' diff --git a/build.gradle b/build.gradle index fd8787de..cb5ca967 100644 --- a/build.gradle +++ b/build.gradle @@ -2,8 +2,8 @@ buildscript { ext { - kotlin_version = '1.7.21' - hilt_version = '2.44.2' + kotlin_version = '1.8.10' + hilt_version = '2.45' } repositories { @@ -13,7 +13,6 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:7.2.2' - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -21,6 +20,7 @@ buildscript { } plugins { + id 'org.jetbrains.kotlin.android' version "$kotlin_version" apply false id 'com.google.dagger.hilt.android' version "$hilt_version" apply false }