2025-10-03 17:24:52 -04:00
|
|
|
/*
|
2026-01-09 09:40:00 -06:00
|
|
|
* Copyright (c) 2025-2026 Meshtastic LLC
|
2025-10-03 17:24:52 -04:00
|
|
|
*
|
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
* (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
|
*/
|
|
|
|
|
|
2026-02-24 06:37:33 -06:00
|
|
|
plugins {
|
|
|
|
|
alias(libs.plugins.meshtastic.kmp.library)
|
|
|
|
|
alias(libs.plugins.kotlin.parcelize)
|
2026-03-12 16:14:49 -05:00
|
|
|
id("meshtastic.kmp.jvm.android")
|
2026-03-09 20:19:46 -05:00
|
|
|
id("meshtastic.koin")
|
2026-02-24 06:37:33 -06:00
|
|
|
}
|
2025-10-03 17:24:52 -04:00
|
|
|
|
2025-12-17 13:48:01 -06:00
|
|
|
kotlin {
|
2026-03-12 16:14:49 -05:00
|
|
|
jvm()
|
|
|
|
|
|
2025-12-17 13:48:01 -06:00
|
|
|
@Suppress("UnstableApiUsage")
|
2026-02-27 11:44:19 -06:00
|
|
|
android {
|
|
|
|
|
androidResources.enable = false
|
|
|
|
|
withHostTest { isIncludeAndroidResources = true }
|
|
|
|
|
}
|
2025-10-03 17:24:52 -04:00
|
|
|
|
2026-02-01 12:03:17 -06:00
|
|
|
sourceSets {
|
2026-02-20 06:41:52 -06:00
|
|
|
commonMain.dependencies {
|
2026-03-12 16:14:49 -05:00
|
|
|
implementation(libs.kotlinx.atomicfu)
|
2026-02-20 06:41:52 -06:00
|
|
|
implementation(libs.kotlinx.coroutines.core)
|
|
|
|
|
api(libs.kotlinx.datetime)
|
2026-03-06 16:06:50 -06:00
|
|
|
api(libs.okio)
|
2026-02-20 06:41:52 -06:00
|
|
|
implementation(libs.kermit)
|
|
|
|
|
}
|
2026-03-16 18:06:43 -05:00
|
|
|
androidMain.dependencies { api(libs.androidx.core.ktx) }
|
2026-03-25 19:29:24 -05:00
|
|
|
|
|
|
|
|
val androidHostTest by getting { dependencies { implementation(libs.robolectric) } }
|
|
|
|
|
|
2026-03-12 16:14:49 -05:00
|
|
|
commonTest.dependencies { implementation(libs.kotlinx.coroutines.test) }
|
2026-02-01 12:03:17 -06:00
|
|
|
}
|
2025-12-17 13:48:01 -06:00
|
|
|
}
|