diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 54cbf06..2199434 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -18,16 +18,17 @@ plugins { id("com.android.application") id("org.jetbrains.kotlin.android") id("org.jetbrains.kotlin.plugin.serialization") version "2.1.0" + id("org.jetbrains.kotlin.plugin.compose") } android { namespace = "com.example.amphibians" - compileSdk = 34 + compileSdk = 35 defaultConfig { applicationId = "com.example.amphibians" minSdk = 24 - targetSdk = 34 + targetSdk = 35 versionCode = 1 versionName = "1.0" @@ -56,9 +57,6 @@ android { buildFeatures { compose = true } - composeOptions { - kotlinCompilerExtensionVersion = rootProject.extra["compose_compiler_version"].toString() - } packaging { resources { excludes += "/META-INF/{AL2.0,LGPL2.1}" diff --git a/build.gradle.kts b/build.gradle.kts index 8235607..e32bbdc 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -18,7 +18,6 @@ buildscript { extra.apply { - set("compose_compiler_version", "1.5.2") set("lifecycle_version", "2.8.7") set("retrofit2_version", "2.11.0") } @@ -28,4 +27,5 @@ plugins { id("com.android.application") version "8.7.3" apply false id("com.android.library") version "8.7.3" apply false id("org.jetbrains.kotlin.android") version "2.1.0" apply false + id("org.jetbrains.kotlin.plugin.compose") version "2.1.0" apply false }