diff --git a/desktop/build.gradle.kts b/desktop/build.gradle.kts index 7e4cd3c4e..9d19e838c 100644 --- a/desktop/build.gradle.kts +++ b/desktop/build.gradle.kts @@ -15,7 +15,6 @@ plugins { alias(libs.plugins.jetbrainsCompose) } - kotlin { jvm { withJava() diff --git a/settings.gradle.kts b/settings.gradle.kts index 3899045be..3b96a9751 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -6,6 +6,7 @@ pluginManagement { mavenCentral() } } + dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.PREFER_PROJECT) repositories { @@ -15,6 +16,11 @@ dependencyResolutionManagement { maven("https://plugins.gradle.org/m2/") } } + +plugins { + id("org.gradle.toolchains.foojay-resolver-convention") version("0.8.0") +} + rootProject.name = "mobile-wallet" enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") diff --git a/shared/build.gradle.kts b/shared/build.gradle.kts index df9426c84..5c99a7fef 100644 --- a/shared/build.gradle.kts +++ b/shared/build.gradle.kts @@ -84,6 +84,7 @@ kotlin { } } } + task("testClasses") } diff --git a/shared/src/desktopMain/kotlin/org/mifospay/shared/di/Modules.desktop.kt b/shared/src/desktopMain/kotlin/org/mifospay/shared/di/Modules.desktop.kt index e7cbc9318..d861dacc2 100644 --- a/shared/src/desktopMain/kotlin/org/mifospay/shared/di/Modules.desktop.kt +++ b/shared/src/desktopMain/kotlin/org/mifospay/shared/di/Modules.desktop.kt @@ -10,6 +10,7 @@ package org.mifospay.shared.di import org.koin.core.module.Module +import org.koin.dsl.module actual val platformModule: Module - get() = TODO("Not yet implemented") + get() = module { single {} }