mirror of
https://github.com/LiveFastEatTrashRaccoon/RaccoonForLemmy.git
synced 2025-02-02 19:56:47 +01:00
c2ef07d4be
* chore: add some missing serializable * refactor: use voyager-koin integration for viewmodels * fix: typo
88 lines
3.1 KiB
Plaintext
88 lines
3.1 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 {
|
|
applyDefaultHierarchyTemplate()
|
|
|
|
androidTarget {
|
|
compilations.all {
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
}
|
|
listOf(
|
|
iosX64(),
|
|
iosArm64(),
|
|
iosSimulatorArm64()
|
|
).forEach {
|
|
it.binaries.framework {
|
|
baseName = "multicommunity"
|
|
}
|
|
}
|
|
|
|
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.screenmodel)
|
|
implementation(libs.voyager.koin)
|
|
|
|
implementation(projects.core.utils)
|
|
implementation(projects.core.appearance)
|
|
implementation(projects.core.architecture)
|
|
implementation(projects.core.commonui.components)
|
|
implementation(projects.core.commonui.lemmyui)
|
|
implementation(projects.core.commonui.modals)
|
|
implementation(projects.core.commonui.detailopenerApi)
|
|
implementation(projects.core.navigation)
|
|
implementation(projects.core.persistence)
|
|
implementation(projects.core.notifications)
|
|
implementation(projects.unit.zoomableimage)
|
|
implementation(projects.unit.web)
|
|
implementation(projects.unit.createreport)
|
|
implementation(projects.unit.createcomment)
|
|
implementation(projects.unit.createpost)
|
|
implementation(projects.unit.remove)
|
|
implementation(projects.unit.ban)
|
|
implementation(projects.unit.communityinfo)
|
|
implementation(projects.unit.instanceinfo)
|
|
implementation(projects.unit.createreport)
|
|
implementation(projects.unit.reportlist)
|
|
|
|
implementation(projects.domain.identity)
|
|
implementation(projects.domain.lemmy.data)
|
|
implementation(projects.domain.lemmy.repository)
|
|
|
|
implementation(projects.resources)
|
|
}
|
|
}
|
|
val commonTest by getting {
|
|
dependencies {
|
|
implementation(kotlin("test"))
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
android {
|
|
namespace = "com.github.diegoberaldin.raccoonforlemmy.unit.multicommunity"
|
|
compileSdk = libs.versions.android.targetSdk.get().toInt()
|
|
defaultConfig {
|
|
minSdk = libs.versions.android.minSdk.get().toInt()
|
|
}
|
|
}
|