2025-12-28 07:47:12 -06:00
|
|
|
/*
|
2026-01-02 15:51:27 -06:00
|
|
|
* Copyright (c) 2025-2026 Meshtastic LLC
|
2025-12-28 07:47:12 -06: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/>.
|
|
|
|
|
*/
|
|
|
|
|
|
2025-10-01 19:26:41 -04:00
|
|
|
plugins {
|
2026-03-17 15:35:39 -05:00
|
|
|
alias(libs.plugins.meshtastic.kmp.feature)
|
2026-03-09 20:19:46 -05:00
|
|
|
alias(libs.plugins.meshtastic.kotlinx.serialization)
|
2025-10-01 19:26:41 -04:00
|
|
|
}
|
2025-02-22 13:57:30 -05:00
|
|
|
|
2026-03-09 20:19:46 -05:00
|
|
|
kotlin {
|
2026-03-12 16:14:49 -05:00
|
|
|
jvm()
|
|
|
|
|
|
2026-03-09 20:19:46 -05:00
|
|
|
@Suppress("UnstableApiUsage")
|
|
|
|
|
android {
|
|
|
|
|
namespace = "org.meshtastic.feature.node"
|
|
|
|
|
androidResources.enable = false
|
|
|
|
|
withHostTest { isIncludeAndroidResources = true }
|
|
|
|
|
}
|
2026-01-15 18:47:45 -06:00
|
|
|
|
2026-03-09 20:19:46 -05:00
|
|
|
sourceSets {
|
|
|
|
|
commonMain.dependencies {
|
2026-03-12 16:14:49 -05:00
|
|
|
implementation(libs.coil)
|
2026-03-09 20:19:46 -05:00
|
|
|
implementation(projects.core.common)
|
|
|
|
|
implementation(projects.core.data)
|
|
|
|
|
implementation(projects.core.database)
|
|
|
|
|
implementation(projects.core.datastore)
|
|
|
|
|
implementation(projects.core.domain)
|
|
|
|
|
implementation(projects.core.model)
|
|
|
|
|
implementation(projects.core.navigation)
|
|
|
|
|
implementation(projects.core.proto)
|
|
|
|
|
implementation(projects.core.repository)
|
|
|
|
|
implementation(projects.core.resources)
|
|
|
|
|
implementation(projects.core.service)
|
|
|
|
|
implementation(projects.core.ui)
|
|
|
|
|
implementation(projects.core.di)
|
|
|
|
|
implementation(projects.feature.map)
|
2026-02-10 17:02:06 -06:00
|
|
|
|
2026-03-23 11:48:10 -05:00
|
|
|
implementation(libs.jetbrains.navigation3.ui)
|
2026-03-12 16:14:49 -05:00
|
|
|
implementation(libs.markdown.renderer)
|
|
|
|
|
implementation(libs.markdown.renderer.m3)
|
|
|
|
|
implementation(libs.vico.compose)
|
|
|
|
|
implementation(libs.vico.compose.m3)
|
|
|
|
|
|
|
|
|
|
// JetBrains Material 3 Adaptive (multiplatform ListDetailPaneScaffold)
|
|
|
|
|
implementation(libs.jetbrains.compose.material3.adaptive)
|
|
|
|
|
implementation(libs.jetbrains.compose.material3.adaptive.layout)
|
|
|
|
|
implementation(libs.jetbrains.compose.material3.adaptive.navigation)
|
2026-03-27 09:43:44 -05:00
|
|
|
implementation(libs.jetbrains.compose.material3.adaptive.navigation3)
|
2026-03-09 20:19:46 -05:00
|
|
|
}
|
2025-02-22 13:57:30 -05:00
|
|
|
|
2026-04-09 12:35:28 -05:00
|
|
|
androidMain.dependencies { implementation(libs.markdown.renderer.android) }
|
2025-10-07 19:50:53 -05:00
|
|
|
|
2026-03-31 16:25:37 -05:00
|
|
|
val androidHostTest by getting {
|
|
|
|
|
dependencies {
|
|
|
|
|
implementation(libs.junit)
|
|
|
|
|
implementation(libs.robolectric)
|
|
|
|
|
implementation(libs.turbine)
|
|
|
|
|
implementation(libs.kotlinx.coroutines.test)
|
|
|
|
|
implementation(libs.androidx.compose.ui.test.junit4)
|
|
|
|
|
implementation(libs.androidx.test.ext.junit)
|
|
|
|
|
}
|
2026-03-09 20:19:46 -05:00
|
|
|
}
|
|
|
|
|
}
|
2025-10-01 19:26:41 -04:00
|
|
|
}
|