Skip to content

Commit

Permalink
adjust version catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
diasDominik committed Feb 25, 2024
1 parent ed10c17 commit 6e3d638
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion database/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ android {
}
}

kotlin.jvmToolchain(17)
kotlin.jvmToolchain(libs.versions.java.jdk.get().toInt())

}

Expand Down
2 changes: 1 addition & 1 deletion extensions/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ android {
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
}
kotlin.jvmToolchain(17)
kotlin.jvmToolchain(libs.versions.java.jdk.get().toInt())
}

dependencies {
Expand Down
3 changes: 3 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ activityCompose = "1.8.2"
agp = "8.3.0-rc02"
androidx-room = "2.6.1"
composeBom = "2024.02.01"
composeCompiler = "1.5.10"
composeFoundation = "1.3.0"
composeMaterial = "1.3.0"
constraintlayout = "2.1.4"
Expand All @@ -24,13 +25,15 @@ tiles = "1.3.0"
tilesMaterial = "1.3.0"
watchfaceComplicationsDataSourceKtx = "1.2.1"
wear-tooling-preview = "1.0.0"
java-jdk = "17"

[libraries]
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activityCompose" }
androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" }
androidx-compose-foundation = { group = "androidx.wear.compose", name = "compose-foundation", version.ref = "composeFoundation" }
androidx-compose-material = { group = "androidx.wear.compose", name = "compose-material", version.ref = "composeMaterial" }
androidx-constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version.ref = "constraintlayout" }
androidx-compose-compiler = { module = "androidx.compose.compiler:compiler", version.ref = "composeCompiler" }
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
androidx-core-splashscreen = { group = "androidx.core", name = "core-splashscreen", version.ref = "coreSplashscreen" }
androidx-espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" }
Expand Down
4 changes: 2 additions & 2 deletions mobile/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ android {

buildFeatures.compose = true

composeOptions.kotlinCompilerExtensionVersion = "1.5.10"
composeOptions.kotlinCompilerExtensionVersion = libs.androidx.compose.compiler.toString()

kotlin.jvmToolchain(17)
kotlin.jvmToolchain(libs.versions.java.jdk.get().toInt())

buildTypes {
release {
Expand Down
4 changes: 1 addition & 3 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
@file:Suppress("UnstableApiUsage")

include(":extensions")


pluginManagement {
repositories {
google {
Expand All @@ -28,3 +25,4 @@ rootProject.name = "Gym Rest Timer"
include(":mobile")
include(":wear")
include(":database")
include(":extensions")
4 changes: 2 additions & 2 deletions wear/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ android {
}
}

kotlin.jvmToolchain(17)
kotlin.jvmToolchain(libs.versions.java.jdk.get().toInt())
buildFeatures.compose = true
composeOptions.kotlinCompilerExtensionVersion = "1.5.10"
composeOptions.kotlinCompilerExtensionVersion = libs.androidx.compose.compiler.toString()

buildTypes {
release {
Expand Down

0 comments on commit 6e3d638

Please sign in to comment.