Skip to content

Commit

Permalink
feat: migrate to kotlin 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DesarrolloAntonio committed Jun 5, 2024
1 parent e672fbb commit 0fa2464
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
/.idea/assetWizardSettings.xml
/.idea/appInsightsSettings.xml
/.idea/migrations.xml
/.kotlin
presentation/release
.DS_Store
/build
Expand Down
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.

3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ buildscript {
plugins {
id 'com.android.application' version '8.3.1' apply false
id 'com.android.library' version '8.3.1' apply false
id 'org.jetbrains.kotlin.android' version '1.9.23' apply false
id 'org.jetbrains.kotlin.android' version '2.0.0' apply false
id 'org.jetbrains.kotlin.plugin.compose' version '2.0.0' apply false
}
2 changes: 1 addition & 1 deletion data/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id ("com.android.library")
id ("org.jetbrains.kotlin.android")
id ("com.google.devtools.ksp") version "1.9.23-1.0.19"
id ("com.google.devtools.ksp") version "2.0.0-1.0.21"
id ("com.google.protobuf") version "0.9.4"
id ("de.mannodermaus.android-junit5")
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ compose = "1.7.0-beta01"
composeMaterial3 = "1.2.1"
# gradlePlugin and lint need to be updated together
gradlePlugin = "7.3.1"
kotlin = "1.7.20"
kotlin = "2.0.0"
coroutines = "1.7.3"
pagingCompose = "3.2.1"
protobuf = "3.21.9"
Expand Down
7 changes: 6 additions & 1 deletion presentation/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
id ("de.mannodermaus.android-junit5")
id("de.mannodermaus.android-junit5")
id("org.jetbrains.kotlin.plugin.compose")
}

android {
Expand Down Expand Up @@ -112,6 +113,10 @@ dependencies {

}

composeCompiler {
enableStrongSkippingMode = true
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
Expand Down

0 comments on commit 0fa2464

Please sign in to comment.