mirror of
https://github.com/openMF/mifos-mobile.git
synced 2026-02-06 11:26:51 +00:00
65 lines
1.7 KiB
Plaintext
65 lines
1.7 KiB
Plaintext
/*
|
|
* Copyright 2024 Mifos Initiative
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
*
|
|
* See https://github.com/openMF/mobile-mobile/blob/master/LICENSE.md
|
|
*/
|
|
plugins {
|
|
alias(libs.plugins.kmp.library.convention)
|
|
alias(libs.plugins.compose.compiler)
|
|
alias(libs.plugins.jetbrainsCompose)
|
|
}
|
|
|
|
android {
|
|
namespace = "org.mifos.mobile.core.common"
|
|
}
|
|
|
|
kotlin {
|
|
|
|
listOf(
|
|
iosX64(),
|
|
iosArm64(),
|
|
iosSimulatorArm64(),
|
|
).forEach {
|
|
it.binaries.framework {
|
|
isStatic = false
|
|
export(libs.kermit.simple)
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
commonMain.dependencies {
|
|
implementation(libs.kotlinx.coroutines.core)
|
|
api(libs.coil.kt)
|
|
api(libs.coil.core)
|
|
api(libs.coil.svg)
|
|
api(libs.coil.network.ktor)
|
|
api(libs.kermit.logging)
|
|
api(libs.squareup.okio)
|
|
api(libs.jb.kotlin.stdlib)
|
|
api(libs.kotlinx.datetime)
|
|
implementation(libs.jb.composeRuntime)
|
|
}
|
|
|
|
androidMain.dependencies {
|
|
implementation(libs.kotlinx.coroutines.android)
|
|
}
|
|
commonTest.dependencies {
|
|
implementation(libs.kotlinx.coroutines.test)
|
|
}
|
|
iosMain.dependencies {
|
|
api(libs.kermit.simple)
|
|
}
|
|
desktopMain.dependencies {
|
|
implementation(libs.kotlinx.coroutines.swing)
|
|
implementation(libs.kotlin.reflect)
|
|
}
|
|
jsMain.dependencies {
|
|
api(libs.jb.kotlin.stdlib.js)
|
|
api(libs.jb.kotlin.dom)
|
|
}
|
|
}
|
|
} |