Raccoon/core/navigation/build.gradle.kts
Diego Beraldin c2ef07d4be
refactor: navigation improvements (#380)
* chore: add some missing serializable

* refactor: use voyager-koin integration for viewmodels

* fix: typo
2023-12-26 17:37:37 +01:00

63 lines
1.6 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 = "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(libs.voyager.screenmodel)
implementation(libs.voyager.koin)
implementation(projects.core.persistence)
implementation(projects.domain.lemmy.data)
implementation(projects.resources)
}
commonTest.dependencies {
implementation(kotlin("test"))
}
}
}
android {
namespace = "com.github.diegoberaldin.raccoonforlemmy.core.navigation"
compileSdk = libs.versions.android.targetSdk.get().toInt()
defaultConfig {
minSdk = libs.versions.android.minSdk.get().toInt()
}
}