mirror of
https://github.com/LiveFastEatTrashRaccoon/RaccoonForLemmy.git
synced 2025-02-03 10:57:41 +01:00
6087df5856
* refactor: move navigation to own module * refactor: use applyDefaultHierarchyTemplate
61 lines
1.4 KiB
Plaintext
61 lines
1.4 KiB
Plaintext
plugins {
|
|
alias(libs.plugins.kotlin.multiplatform)
|
|
alias(libs.plugins.android.library)
|
|
alias(libs.plugins.compose)
|
|
}
|
|
|
|
kotlin {
|
|
applyDefaultHierarchyTemplate()
|
|
|
|
androidTarget {
|
|
compilations.all {
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
}
|
|
|
|
listOf(
|
|
iosX64(),
|
|
iosArm64(),
|
|
iosSimulatorArm64()
|
|
).forEach {
|
|
it.binaries.framework {
|
|
baseName = "core-navigation"
|
|
isStatic = true
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
commonMain.dependencies {
|
|
implementation(compose.runtime)
|
|
implementation(compose.foundation)
|
|
implementation(compose.material3)
|
|
@OptIn(org.jetbrains.compose.ExperimentalComposeLibrary::class)
|
|
implementation(compose.components.resources)
|
|
|
|
implementation(libs.koin.core)
|
|
|
|
implementation(libs.voyager.navigator)
|
|
implementation(libs.voyager.tab)
|
|
implementation(libs.voyager.bottomsheet)
|
|
|
|
implementation(projects.corePersistence)
|
|
implementation(projects.domainLemmy.data)
|
|
|
|
implementation(projects.resources)
|
|
}
|
|
commonTest.dependencies {
|
|
implementation(kotlin("test"))
|
|
}
|
|
}
|
|
}
|
|
|
|
android {
|
|
namespace = "com.github.diegoberaldin.raccoonforlemmy.core.navigation"
|
|
compileSdk = 34
|
|
defaultConfig {
|
|
minSdk = 26
|
|
}
|
|
}
|