[go: nahoru, domu]

Skip to content

Commit

Permalink
Update Kotlin to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
oblakr24 committed Jun 6, 2024
1 parent ebca08b commit a920dff
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 12 deletions.
28 changes: 28 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ plugins {
id("org.jetbrains.kotlin.android")
id("kotlin-kapt")
id("com.google.dagger.hilt.android")
id("org.jetbrains.kotlin.plugin.serialization") version "1.9.22"
id("org.jetbrains.kotlin.plugin.serialization") version "2.0.0"

alias(libs.plugins.compose.compiler)
}

android {
Expand Down Expand Up @@ -47,9 +49,6 @@ android {
buildFeatures {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.5.10"
}
packaging {
resources {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
Expand All @@ -59,7 +58,7 @@ android {

dependencies {
val composeHiltNavigationVersion = "1.2.0"
val navVersion = "2.8.0-beta01"
val navVersion = "2.8.0-beta02"
val composeUiVersion = "1.6.7"
val timberVersion = "5.0.1"

Expand Down
13 changes: 8 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@ buildscript {
mavenCentral()
}
dependencies {
val kotlinVersion = "1.9.22"
val kotlinVersion = "2.0.0"
classpath("app.cash.molecule:molecule-gradle-plugin:1.4.2")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
}
}
plugins {
id("com.android.application") version "8.3.0" apply false
id("com.android.library") version "8.3.0" apply false
id("org.jetbrains.kotlin.android") version "1.9.22" apply false
id("com.android.application") version "8.4.1" apply false
id("com.android.library") version "8.4.1" apply false
id("org.jetbrains.kotlin.android") version "2.0.0" apply false
id("com.google.dagger.hilt.android") version "2.49" apply false
}

alias(libs.plugins.compose.compiler) apply false
}

7 changes: 7 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[versions]
kotlin = "2.0.0"

[plugins]
org-jetbrains-kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }

compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Sun Mar 17 14:00:43 ICT 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit a920dff

Please sign in to comment.