mirror of
https://github.com/openMF/mobile-wallet.git
synced 2026-02-06 11:07:02 +00:00
54 lines
1.6 KiB
Plaintext
54 lines
1.6 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-wallet/blob/master/LICENSE.md
|
|
*/
|
|
plugins {
|
|
alias(libs.plugins.kmp.library.convention)
|
|
alias(libs.plugins.ktorfit)
|
|
alias(libs.plugins.kotlin.serialization)
|
|
alias(libs.plugins.ksp)
|
|
}
|
|
|
|
android {
|
|
namespace = "org.mifospay.core.network"
|
|
defaultConfig {
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
}
|
|
testOptions {
|
|
unitTests {
|
|
isReturnDefaultValues = true
|
|
isIncludeAndroidResources = true
|
|
}
|
|
}
|
|
}
|
|
|
|
kotlin {
|
|
sourceSets {
|
|
commonMain.dependencies {
|
|
api(projects.core.common)
|
|
implementation(projects.core.model)
|
|
implementation(projects.core.datastore)
|
|
implementation(libs.kotlinx.serialization.json)
|
|
implementation(libs.ktor.client.json)
|
|
implementation(libs.ktor.client.serialization)
|
|
implementation(libs.squareup.okio)
|
|
api(projects.coreBase.network)
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
add("kspCommonMainMetadata", libs.ktorfit.ksp)
|
|
add("kspAndroid", libs.ktorfit.ksp)
|
|
add("kspJs", libs.ktorfit.ksp)
|
|
add("kspWasmJs", libs.ktorfit.ksp)
|
|
add("kspDesktop", libs.ktorfit.ksp)
|
|
add("kspIosX64", libs.ktorfit.ksp)
|
|
add("kspIosArm64", libs.ktorfit.ksp)
|
|
add("kspIosSimulatorArm64", libs.ktorfit.ksp)
|
|
} |