Update Kotlin to 1.8.10 + dependencies

This commit is contained in:
lynxnb 2023-02-15 19:25:21 +01:00
parent 787f2bde02
commit f372b6a629
2 changed files with 7 additions and 7 deletions

View File

@ -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'

View File

@ -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
}