Meshtastic-Android/core/ui/build.gradle.kts

74 lines
2.5 KiB
Text
Raw Normal View History

/*
* Copyright (c) 2025-2026 Meshtastic LLC
*
* 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-09-25 17:01:53 -04:00
plugins {
alias(libs.plugins.meshtastic.kmp.library)
alias(libs.plugins.meshtastic.kmp.library.compose)
alias(libs.plugins.meshtastic.koin)
2025-09-25 17:01:53 -04:00
}
2025-05-17 11:39:53 -05:00
kotlin {
@Suppress("UnstableApiUsage")
android {
namespace = "org.meshtastic.core.ui"
androidResources.enable = false
}
sourceSets {
commonMain.dependencies {
implementation(projects.core.common)
implementation(projects.core.data)
implementation(projects.core.database)
implementation(projects.core.model)
implementation(projects.core.prefs)
implementation(projects.core.proto)
implementation(projects.core.resources)
implementation(projects.core.service)
implementation(compose.material3)
implementation(compose.materialIconsExtended)
implementation(compose.ui)
implementation(compose.foundation)
implementation(compose.runtime)
implementation(compose.components.resources)
implementation(libs.androidx.compose.ui.tooling.preview)
implementation(libs.kermit)
implementation(libs.koin.compose.viewmodel)
}
androidMain.dependencies {
implementation(libs.androidx.activity.compose)
implementation(libs.androidx.emoji2.emojipicker)
implementation(libs.guava)
implementation(libs.zxing.core)
implementation(libs.nordic.common.core)
}
commonTest.dependencies {
implementation(libs.junit)
implementation(libs.kotlinx.coroutines.test)
implementation(libs.turbine)
}
androidUnitTest.dependencies {
implementation(libs.mockk)
implementation(libs.androidx.test.runner)
}
}
2025-09-25 17:01:53 -04:00
}