From eb48eaf9d3e53fb559f0c56e1aab749a21d2d064 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 30 Jun 2024 11:11:11 -0300 Subject: [PATCH] chore(deps): update kotlin_version to v2 (major) (#1050) --- .gitignore | 3 +++ app/build.gradle | 8 +++----- build.gradle | 3 ++- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index a66408bd..04fe5cb1 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,6 @@ keystore.properties # AGP profiling traces *.trace + +# Kotlin compiler +.kotlin diff --git a/app/build.gradle b/app/build.gradle index fd943deb..0c145c03 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,7 +1,8 @@ plugins { id 'com.android.application' - id 'kotlin-android' - id 'kotlin-parcelize' + id "org.jetbrains.kotlin.android" + id "org.jetbrains.kotlin.plugin.compose" + id "org.jetbrains.kotlin.plugin.parcelize" id 'kotlinx-serialization' id 'com.google.dagger.hilt.android' id 'de.mobilej.unmock' @@ -92,9 +93,6 @@ android { aidl true buildConfig true } - composeOptions { - kotlinCompilerExtensionVersion = "1.5.14" - } // Configure the build-logic plugins to target JDK 17 // This matches the JDK used to build the project, and is not related to what is running on device. compileOptions { diff --git a/build.gradle b/build.gradle index 492b3f0e..50079d20 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ buildscript { ext { useCrashlytics = false - kotlin_version = '1.9.24' + kotlin_version = '2.0.0' hilt_version = '2.51.1' protobuf_version = '4.27.2' } @@ -39,6 +39,7 @@ buildscript { plugins { id "org.jetbrains.kotlin.jvm" version "$kotlin_version" apply false id "com.google.devtools.ksp" version "1.9.24-1.0.20" apply false + id "org.jetbrains.kotlin.plugin.compose" version "$kotlin_version" apply false } allprojects {