Skip to content

Commit

Permalink
upgrade to kotlin 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pakohan committed Jul 24, 2024
1 parent 20ac827 commit 5c4110f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ local.properties

# Log/OS Files
*.log
.kotlin/

# Android Studio generated files and folders
captures/
Expand Down
4 changes: 1 addition & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.jetbrains.kotlin.android)
alias(libs.plugins.compose.compiler)
}

android {
Expand Down Expand Up @@ -39,9 +40,6 @@ android {
buildFeatures {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.5.1"
}
packaging {
resources {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
Expand Down
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.jetbrains.kotlin.android) apply false
id("org.jetbrains.dokka") version "1.9.20"
alias(libs.plugins.android.library) apply false
alias(libs.plugins.compose.compiler) apply false
id("org.jetbrains.dokka") version "1.9.20"
}

tasks.dokkaHtmlMultiModule {
Expand Down
4 changes: 1 addition & 3 deletions coverflow/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.jetbrains.kotlin.android)
alias(libs.plugins.compose.compiler)
id("kotlin-parcelize")
}

Expand Down Expand Up @@ -34,9 +35,6 @@ android {
buildFeatures {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.5.1"
}
publishing {
singleVariant("release") {
withJavadocJar()
Expand Down
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ androidx-material3-android = { group = "androidx.compose.material3", name = "mat
android-application = { id = "com.android.application", version.ref = "agp" }
jetbrains-kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
android-library = { id = "com.android.library", version.ref = "agp" }
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }

0 comments on commit 5c4110f

Please sign in to comment.