mirror of
https://github.com/LiveFastEatTrashRaccoon/RaccoonForLemmy.git
synced 2025-02-02 07:46:48 +01:00
79 lines
2.3 KiB
Plaintext
79 lines
2.3 KiB
Plaintext
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
|
|
|
plugins {
|
|
alias(libs.plugins.kotlin.multiplatform)
|
|
alias(libs.plugins.android.library)
|
|
alias(libs.plugins.jetbrains.compose)
|
|
alias(libs.plugins.compose.compiler)
|
|
alias(libs.plugins.detekt)
|
|
}
|
|
|
|
@OptIn(org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi::class)
|
|
kotlin {
|
|
applyDefaultHierarchyTemplate()
|
|
androidTarget {
|
|
compilerOptions {
|
|
jvmTarget.set(JvmTarget.JVM_1_8)
|
|
}
|
|
}
|
|
listOf(
|
|
iosX64(),
|
|
iosArm64(),
|
|
iosSimulatorArm64(),
|
|
).forEach {
|
|
it.binaries.framework {
|
|
baseName = "unit.configurenavbar"
|
|
isStatic = true
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
val commonMain by getting {
|
|
dependencies {
|
|
implementation(compose.runtime)
|
|
implementation(compose.foundation)
|
|
implementation(compose.material)
|
|
implementation(compose.material3)
|
|
implementation(compose.materialIconsExtended)
|
|
|
|
implementation(libs.koin.core)
|
|
implementation(libs.reorderable)
|
|
implementation(libs.voyager.navigator)
|
|
implementation(libs.voyager.screenmodel)
|
|
implementation(libs.voyager.koin)
|
|
|
|
implementation(projects.core.appearance)
|
|
implementation(projects.core.architecture)
|
|
implementation(projects.core.commonui.components)
|
|
implementation(projects.core.commonui.modals)
|
|
implementation(projects.core.l10n)
|
|
implementation(projects.core.navigation)
|
|
implementation(projects.core.notifications)
|
|
implementation(projects.core.persistence)
|
|
implementation(projects.core.utils)
|
|
|
|
implementation(projects.domain.identity)
|
|
}
|
|
}
|
|
val commonTest by getting {
|
|
dependencies {
|
|
implementation(kotlin("test"))
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
android {
|
|
namespace = "com.livefast.eattrash.raccoonforlemmy.unit.configurenavbar"
|
|
compileSdk =
|
|
libs.versions.android.targetSdk
|
|
.get()
|
|
.toInt()
|
|
defaultConfig {
|
|
minSdk =
|
|
libs.versions.android.minSdk
|
|
.get()
|
|
.toInt()
|
|
}
|
|
}
|