mirror of
https://github.com/LiveFastEatTrashRaccoon/RaccoonForLemmy.git
synced 2025-02-03 19:47:33 +01:00
75 lines
2.3 KiB
Plaintext
75 lines
2.3 KiB
Plaintext
plugins {
|
|
alias(libs.plugins.kotlin.multiplatform)
|
|
alias(libs.plugins.android.library)
|
|
alias(libs.plugins.compose)
|
|
}
|
|
|
|
@OptIn(org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi::class)
|
|
kotlin {
|
|
targetHierarchy.default()
|
|
|
|
androidTarget {
|
|
compilations.all {
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
}
|
|
listOf(
|
|
iosX64(),
|
|
iosArm64(),
|
|
iosSimulatorArm64()
|
|
).forEach {
|
|
it.binaries.framework {
|
|
baseName = "core-commonui"
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
val commonMain by getting {
|
|
dependencies {
|
|
implementation(compose.runtime)
|
|
implementation(compose.foundation)
|
|
implementation(compose.material)
|
|
implementation(compose.material3)
|
|
@OptIn(org.jetbrains.compose.ExperimentalComposeLibrary::class)
|
|
implementation(compose.components.resources)
|
|
implementation(compose.materialIconsExtended)
|
|
|
|
implementation(libs.koin.core)
|
|
implementation(libs.voyager.navigator)
|
|
implementation(libs.voyager.bottomsheet)
|
|
implementation(libs.voyager.tab)
|
|
|
|
implementation(projects.coreUtils)
|
|
implementation(projects.coreAppearance)
|
|
implementation(projects.coreArchitecture)
|
|
implementation(projects.corePreferences)
|
|
implementation(projects.corePersistence)
|
|
implementation(projects.coreMd)
|
|
implementation(projects.coreNotifications)
|
|
implementation(projects.coreCommonui.components)
|
|
|
|
implementation(projects.domainLemmy.data)
|
|
implementation(projects.domainLemmy.repository)
|
|
implementation(projects.domainIdentity)
|
|
|
|
implementation(projects.resources)
|
|
}
|
|
}
|
|
val commonTest by getting {
|
|
dependencies {
|
|
implementation(kotlin("test"))
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
android {
|
|
namespace = "com.github.diegoberaldin.raccoonforlemmy.core.commonui"
|
|
compileSdk = libs.versions.android.targetSdk.get().toInt()
|
|
defaultConfig {
|
|
minSdk = libs.versions.android.minSdk.get().toInt()
|
|
}
|
|
}
|