mirror of
https://github.com/LiveFastEatTrashRaccoon/RaccoonForLemmy.git
synced 2025-02-03 22:37:32 +01:00
144 lines
5.4 KiB
Plaintext
144 lines
5.4 KiB
Plaintext
plugins {
|
|
alias(libs.plugins.kotlin.multiplatform)
|
|
alias(libs.plugins.android.library)
|
|
alias(libs.plugins.compose)
|
|
alias(libs.plugins.detekt)
|
|
}
|
|
|
|
kotlin {
|
|
applyDefaultHierarchyTemplate()
|
|
|
|
androidTarget {
|
|
compilations.all {
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
}
|
|
|
|
listOf(
|
|
iosX64(),
|
|
iosArm64(),
|
|
iosSimulatorArm64(),
|
|
).forEach {
|
|
it.binaries.framework {
|
|
baseName = "shared"
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
val commonMain by getting {
|
|
dependencies {
|
|
implementation(compose.runtime)
|
|
implementation(compose.foundation)
|
|
implementation(compose.material3)
|
|
implementation(compose.material)
|
|
|
|
implementation(libs.koin.core)
|
|
implementation(libs.lyricist)
|
|
implementation(libs.voyager.navigator)
|
|
implementation(libs.voyager.screenmodel)
|
|
implementation(libs.voyager.koin)
|
|
implementation(libs.voyager.transition)
|
|
implementation(libs.voyager.tab)
|
|
implementation(libs.voyager.bottomsheet)
|
|
|
|
implementation(projects.core.api)
|
|
implementation(projects.core.appearance)
|
|
implementation(projects.core.architecture)
|
|
implementation(projects.core.commonui.components)
|
|
implementation(projects.core.commonui.detailopenerApi)
|
|
implementation(projects.core.commonui.detailopenerImpl)
|
|
implementation(projects.core.commonui.lemmyui)
|
|
implementation(projects.core.l10n)
|
|
implementation(projects.core.navigation)
|
|
implementation(projects.core.notifications)
|
|
implementation(projects.core.persistence)
|
|
implementation(projects.core.preferences)
|
|
implementation(projects.core.resources)
|
|
implementation(projects.core.utils)
|
|
|
|
implementation(projects.domain.identity)
|
|
implementation(projects.domain.inbox)
|
|
implementation(projects.domain.lemmy.data)
|
|
implementation(projects.domain.lemmy.pagination)
|
|
implementation(projects.domain.lemmy.repository)
|
|
|
|
implementation(projects.unit.accountsettings)
|
|
implementation(projects.unit.ban)
|
|
implementation(projects.unit.chat)
|
|
implementation(projects.unit.communitydetail)
|
|
implementation(projects.unit.communityinfo)
|
|
implementation(projects.unit.configurecontentview)
|
|
implementation(projects.unit.configureswipeactions)
|
|
implementation(projects.unit.createcomment)
|
|
implementation(projects.unit.createpost)
|
|
implementation(projects.unit.createreport)
|
|
implementation(projects.unit.drafts)
|
|
implementation(projects.unit.drawer)
|
|
implementation(projects.unit.editcommunity)
|
|
implementation(projects.unit.instanceinfo)
|
|
implementation(projects.unit.manageban)
|
|
implementation(projects.unit.managesubscriptions)
|
|
implementation(projects.unit.filteredcontents)
|
|
implementation(projects.unit.licences)
|
|
implementation(projects.unit.modlog)
|
|
implementation(projects.unit.multicommunity)
|
|
implementation(projects.unit.postdetail)
|
|
implementation(projects.unit.remove)
|
|
implementation(projects.unit.reportlist)
|
|
implementation(projects.unit.saveditems)
|
|
implementation(projects.unit.selectcommunity)
|
|
implementation(projects.unit.selectinstance)
|
|
implementation(projects.unit.userdetail)
|
|
implementation(projects.unit.userinfo)
|
|
implementation(projects.unit.zoomableimage)
|
|
|
|
api(projects.feature.home)
|
|
api(projects.feature.inbox)
|
|
api(projects.feature.search)
|
|
api(projects.feature.profile)
|
|
api(projects.feature.settings)
|
|
}
|
|
}
|
|
val commonTest by getting {
|
|
dependencies {
|
|
implementation(kotlin("test"))
|
|
}
|
|
}
|
|
val androidMain by getting {
|
|
dependsOn(commonMain)
|
|
}
|
|
val androidUnitTest by getting
|
|
val iosX64Main by getting
|
|
val iosArm64Main by getting
|
|
val iosSimulatorArm64Main by getting
|
|
val iosMain by getting {
|
|
dependsOn(commonMain)
|
|
iosX64Main.dependsOn(this)
|
|
iosArm64Main.dependsOn(this)
|
|
iosSimulatorArm64Main.dependsOn(this)
|
|
}
|
|
val iosX64Test by getting
|
|
val iosArm64Test by getting
|
|
val iosSimulatorArm64Test by getting
|
|
val iosTest by getting {
|
|
dependsOn(commonTest)
|
|
iosX64Test.dependsOn(this)
|
|
iosArm64Test.dependsOn(this)
|
|
iosSimulatorArm64Test.dependsOn(this)
|
|
}
|
|
}
|
|
}
|
|
|
|
android {
|
|
namespace = "com.github.diegoberaldin.raccoonforlemmy"
|
|
compileSdk = libs.versions.android.targetSdk.get().toInt()
|
|
defaultConfig {
|
|
minSdk = libs.versions.android.minSdk.get().toInt()
|
|
}
|
|
}
|
|
dependencies {
|
|
implementation(project(":core:utils"))
|
|
}
|