Skip to content

Commit 90d3df1

Browse files
Merge pull request #1 from NicosNicolaou16/kotlin_2
update the Gradle and Kotlin to latest version, update some dependenc…
2 parents a3dbec8 + 6d35620 commit 90d3df1

File tree

3 files changed

+19
-6
lines changed

3 files changed

+19
-6
lines changed

.idea/deploymentTargetSelector.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
id 'com.android.application'
33
id 'org.jetbrains.kotlin.android'
4+
id("org.jetbrains.kotlin.plugin.compose") version "2.0.0"
45
}
56

67
android {
@@ -37,9 +38,11 @@ android {
3738
buildFeatures {
3839
compose true
3940
}
40-
composeOptions {
41-
kotlinCompilerExtensionVersion '1.5.13'
41+
composeCompiler {
42+
enableStrongSkippingMode = true
43+
reportsDestination = layout.buildDirectory.dir("compose_compiler")
4244
}
45+
4346
packagingOptions {
4447
resources {
4548
excludes += '/META-INF/{AL2.0,LGPL2.1}'
@@ -49,7 +52,7 @@ android {
4952

5053
dependencies {
5154
implementation 'androidx.core:core-ktx:1.13.1'
52-
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.7.0'
55+
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.1'
5356
implementation 'androidx.activity:activity-compose:1.9.0'
5457
implementation platform('androidx.compose:compose-bom:2024.05.00')
5558
implementation 'androidx.compose.ui:ui'

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
plugins {
3-
id 'com.android.application' version '8.4.0' apply false
4-
id 'com.android.library' version '8.4.0' apply false
5-
id 'org.jetbrains.kotlin.android' version '1.9.23' apply false
3+
id 'com.android.application' version '8.4.1' apply false
4+
id 'com.android.library' version '8.4.1' apply false
5+
id 'org.jetbrains.kotlin.android' version '2.0.0' apply false
66
}

0 commit comments

Comments
 (0)