Skip to content

Commit

Permalink
⬆️ Update build scripts and Kotlin version
Browse files Browse the repository at this point in the history
Added Compose compiler plugin alias in the 'build.gradle.kts' scripts
and updated Kotlin from 1.9.23 to 2.0.0. Also, removed 'composeOptions'
block from 'app/build.gradle.kts' following the changes.

Signed-off-by: Leonardo Colman Lopes <[email protected]>
  • Loading branch information
LeoColman committed Jun 27, 2024
1 parent d7c7d5f commit 64f9ea9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 1 addition & 4 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ plugins {
alias(libs.plugins.sqldelight)
alias(libs.plugins.kotlinx.serialization)
alias(libs.plugins.kotlinx.kover)
alias(libs.plugins.compose.compiler)
}

repositories {
Expand Down Expand Up @@ -124,10 +125,6 @@ android {
buildConfig = true
}

composeOptions {
kotlinCompilerExtensionVersion = libs.versions.composeCompiler.get()
}

testOptions {
unitTests {
isIncludeAndroidResources = true
Expand Down
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ buildscript {
}

plugins {
alias(libs.plugins.compose.compiler) apply false
id("com.autonomousapps.dependency-analysis") version "1.32.0"
id("com.github.ben-manes.versions") version "0.51.0"
id("nl.littlerobots.version-catalog-update") version "0.8.4"
Expand Down
3 changes: 2 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ datastore = "1.0.0"
detekt = "1.23.6"
koin = "3.5.6"
kotest = "5.9.1"
kotlin = "1.9.23"
kotlin = "2.0.0"
vanpra-material-dialogs = "0.9.0"
sqldelight = "1.5.5"
glance = "1.1.0"
Expand Down Expand Up @@ -109,3 +109,4 @@ detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" }
sqldelight = { id = "com.squareup.sqldelight", version.ref = "sqldelight" }
kotlinx-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
kotlinx-kover = { id = "org.jetbrains.kotlinx.kover", version = "0.8.2" }
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }

0 comments on commit 64f9ea9

Please sign in to comment.