From 85d397def03c9870d7def28ec2fb9360f01c0dff Mon Sep 17 00:00:00 2001 From: Koitharu Date: Wed, 11 Sep 2024 08:50:51 +0300 Subject: [PATCH] Update dependencies --- app/build.gradle | 8 ++++---- build.gradle | 4 ++-- gradle.properties | 1 + 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index fc714b23a..fcfd591d0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -48,11 +48,11 @@ android { } compileOptions { coreLibraryDesugaringEnabled true - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_11 + targetCompatibility JavaVersion.VERSION_11 } kotlinOptions { - jvmTarget = JavaVersion.VERSION_1_8.toString() + jvmTarget = JavaVersion.VERSION_11.toString() freeCompilerArgs += [ '-opt-in=kotlin.ExperimentalStdlibApi', '-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi', @@ -88,7 +88,7 @@ dependencies { } coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.2' - implementation 'org.jetbrains.kotlin:kotlin-stdlib:2.0.10' + implementation 'org.jetbrains.kotlin:kotlin-stdlib:2.0.20' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.9.0-RC.2' implementation 'androidx.appcompat:appcompat:1.7.0' diff --git a/build.gradle b/build.gradle index 71cb1681c..fadb8b78b 100644 --- a/build.gradle +++ b/build.gradle @@ -5,9 +5,9 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:8.6.0' - classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.10' + classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.20' classpath 'com.google.dagger:hilt-android-gradle-plugin:2.52' - classpath 'com.google.devtools.ksp:symbol-processing-gradle-plugin:2.0.10-1.0.24' + classpath 'com.google.devtools.ksp:symbol-processing-gradle-plugin:2.0.20-1.0.25' } } diff --git a/gradle.properties b/gradle.properties index 0c9e2bae4..c628dc13b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -18,3 +18,4 @@ kotlin.code.style=official org.gradle.jvmargs=-Xmx1536M -Dkotlin.daemon.jvm.options\="-Xmx1536M" android.enableR8.fullMode=true android.nonFinalResIds=false +kapt.use.k2=true