From a46fefbde311fea482724c32a19a65e253a1d63e Mon Sep 17 00:00:00 2001 From: DatLag Date: Wed, 8 Nov 2023 21:39:02 +0100 Subject: [PATCH] update dependencies --- app/shared/build.gradle.kts | 18 ++---------------- gradle/libs.versions.toml | 12 ++++++------ model/build.gradle.kts | 18 +++--------------- network/build.gradle.kts | 18 +++--------------- 4 files changed, 14 insertions(+), 52 deletions(-) diff --git a/app/shared/build.gradle.kts b/app/shared/build.gradle.kts index 2dabce5b..aff51ab4 100644 --- a/app/shared/build.gradle.kts +++ b/app/shared/build.gradle.kts @@ -32,6 +32,8 @@ kotlin { } } + applyDefaultHierarchyTemplate() + sourceSets { val commonMain by getting { dependencies { @@ -71,7 +73,6 @@ kotlin { } } val androidMain by getting { - dependsOn(commonMain) apply(plugin = "kotlin-parcelize") dependencies { @@ -87,8 +88,6 @@ kotlin { } } val desktopMain by getting { - dependsOn(commonMain) - dependencies { api(compose.desktop.currentOs) api(libs.coroutines.swing) @@ -97,19 +96,6 @@ kotlin { api(libs.ktor.jvm) } } - val iosX64Main by getting - val iosArm64Main by getting - val iosSimulatorArm64Main by getting - val iosMain by creating { - dependsOn(commonMain) - iosX64Main.dependsOn(this) - iosArm64Main.dependsOn(this) - iosSimulatorArm64Main.dependsOn(this) - - dependencies { - api(libs.ktor.apple) - } - } } } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 01494d72..fc267100 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,9 +1,9 @@ [versions] app = "5.0.0" -aboutlibraries = "10.9.1" +aboutlibraries = "10.9.2" accompanist = "0.32.0" activity = "1.8.0" -android = "8.1.2" +android = "8.1.3" android-core = "1.12.0" appcompat = "1.6.1" compose = "1.5.10" @@ -14,12 +14,12 @@ decompose = "2.1.3-compose-experimental" flowredux = "1.2.0" grpc = "1.59.0" instesx = "0.1.0-alpha10" -kamel = "0.8.2" +kamel = "0.8.3" kodein = "7.20.2" kotlin = "1.9.20" -ksp = "1.9.20-1.0.13" -ktor = "2.3.5" -ktorfit = "1.9.1" +ksp = "1.9.20-1.0.14" +ktor = "2.3.6" +ktorfit = "1.10.0" ktsoup = "0.3.0" material = "1.10.0" moko-resources = "0.23.0" diff --git a/model/build.gradle.kts b/model/build.gradle.kts index 69121d3c..93683664 100644 --- a/model/build.gradle.kts +++ b/model/build.gradle.kts @@ -15,6 +15,8 @@ kotlin { iosArm64() iosSimulatorArm64() + applyDefaultHierarchyTemplate() + sourceSets { val commonMain by getting { dependencies { @@ -24,24 +26,10 @@ kotlin { } } - val jvmMain by getting { - dependsOn(commonMain) - } - val androidMain by getting { - dependsOn(jvmMain) + dependsOn(jvmMain.get()) apply(plugin = "kotlin-parcelize") } - - val iosX64Main by getting - val iosArm64Main by getting - val iosSimulatorArm64Main by getting - val iosMain by creating { - dependsOn(commonMain) - iosX64Main.dependsOn(this) - iosArm64Main.dependsOn(this) - iosSimulatorArm64Main.dependsOn(this) - } } } diff --git a/network/build.gradle.kts b/network/build.gradle.kts index a897b0e7..058816bc 100644 --- a/network/build.gradle.kts +++ b/network/build.gradle.kts @@ -17,6 +17,8 @@ kotlin { iosArm64() iosSimulatorArm64() + applyDefaultHierarchyTemplate() + sourceSets { val commonMain by getting { dependencies { @@ -32,22 +34,8 @@ kotlin { } } - val jvmMain by getting { - dependsOn(commonMain) - } - val androidMain by getting { - dependsOn(jvmMain) - } - - val iosX64Main by getting - val iosArm64Main by getting - val iosSimulatorArm64Main by getting - val iosMain by creating { - dependsOn(commonMain) - iosX64Main.dependsOn(this) - iosArm64Main.dependsOn(this) - iosSimulatorArm64Main.dependsOn(this) + dependsOn(jvmMain.get()) } } }