2023-07-20 14:24:50 +02:00
|
|
|
plugins {
|
|
|
|
alias(libs.plugins.kotlin.multiplatform)
|
|
|
|
alias(libs.plugins.android.library)
|
|
|
|
alias(libs.plugins.compose)
|
2024-03-30 09:11:40 +01:00
|
|
|
alias(libs.plugins.detekt)
|
2023-07-20 14:24:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@OptIn(org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi::class)
|
|
|
|
kotlin {
|
2023-12-04 19:36:34 +01:00
|
|
|
applyDefaultHierarchyTemplate()
|
2023-07-20 14:24:50 +02:00
|
|
|
|
2023-11-06 22:48:51 +01:00
|
|
|
androidTarget {
|
2023-07-20 14:24:50 +02:00
|
|
|
compilations.all {
|
|
|
|
kotlinOptions {
|
2023-09-23 08:42:30 +02:00
|
|
|
jvmTarget = "1.8"
|
2023-07-20 14:24:50 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-09-27 23:27:38 +02:00
|
|
|
listOf(
|
|
|
|
iosX64(),
|
|
|
|
iosArm64(),
|
2024-05-15 23:49:48 +02:00
|
|
|
iosSimulatorArm64(),
|
2023-09-27 23:27:38 +02:00
|
|
|
).forEach {
|
|
|
|
it.binaries.framework {
|
2023-12-20 11:54:52 +01:00
|
|
|
baseName = "settings"
|
2023-09-27 23:27:38 +02:00
|
|
|
}
|
|
|
|
}
|
2023-07-20 14:24:50 +02:00
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
val commonMain by getting {
|
|
|
|
dependencies {
|
|
|
|
implementation(compose.runtime)
|
|
|
|
implementation(compose.foundation)
|
|
|
|
implementation(compose.material3)
|
2023-07-27 21:03:45 +02:00
|
|
|
implementation(compose.materialIconsExtended)
|
2023-07-20 14:24:50 +02:00
|
|
|
|
2023-12-22 11:39:20 +01:00
|
|
|
implementation(libs.koin.core)
|
2024-02-13 22:37:13 +01:00
|
|
|
implementation(libs.lyricist)
|
2023-07-20 14:24:50 +02:00
|
|
|
implementation(libs.voyager.navigator)
|
2023-12-16 12:12:59 +01:00
|
|
|
implementation(libs.voyager.screenmodel)
|
2023-12-26 17:37:37 +01:00
|
|
|
implementation(libs.voyager.koin)
|
2023-07-20 14:24:50 +02:00
|
|
|
implementation(libs.voyager.tab)
|
2023-07-29 23:44:57 +02:00
|
|
|
implementation(libs.voyager.bottomsheet)
|
2023-07-20 21:24:44 +02:00
|
|
|
|
2023-12-20 00:45:20 +01:00
|
|
|
implementation(projects.core.appearance)
|
|
|
|
implementation(projects.core.architecture)
|
|
|
|
implementation(projects.core.commonui.components)
|
2024-02-13 22:37:13 +01:00
|
|
|
implementation(projects.core.commonui.detailopenerApi)
|
2023-12-20 00:45:20 +01:00
|
|
|
implementation(projects.core.commonui.lemmyui)
|
|
|
|
implementation(projects.core.commonui.modals)
|
2024-02-13 22:37:13 +01:00
|
|
|
implementation(projects.core.l10n)
|
|
|
|
implementation(projects.core.navigation)
|
2023-12-20 00:45:20 +01:00
|
|
|
implementation(projects.core.notifications)
|
2024-02-13 22:37:13 +01:00
|
|
|
implementation(projects.core.persistence)
|
|
|
|
implementation(projects.core.preferences)
|
|
|
|
implementation(projects.core.utils)
|
2023-12-28 17:24:14 +01:00
|
|
|
|
2023-12-20 00:45:20 +01:00
|
|
|
implementation(projects.domain.lemmy.data)
|
|
|
|
implementation(projects.domain.lemmy.repository)
|
|
|
|
implementation(projects.domain.identity)
|
2023-12-28 17:24:14 +01:00
|
|
|
|
|
|
|
implementation(projects.unit.web)
|
|
|
|
implementation(projects.unit.about)
|
|
|
|
implementation(projects.unit.accountsettings)
|
2023-12-28 20:39:38 +01:00
|
|
|
implementation(projects.unit.manageban)
|
2024-01-08 20:45:21 +01:00
|
|
|
implementation(projects.unit.choosecolor)
|
2024-01-17 22:26:18 +01:00
|
|
|
implementation(projects.unit.choosefont)
|
2024-01-20 12:37:09 +01:00
|
|
|
implementation(projects.unit.configureswipeactions)
|
2024-02-21 00:00:45 +01:00
|
|
|
implementation(projects.unit.configurecontentview)
|
2023-07-20 14:24:50 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
val commonTest by getting {
|
|
|
|
dependencies {
|
|
|
|
implementation(kotlin("test"))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2023-08-02 23:37:12 +02:00
|
|
|
namespace = "com.github.diegoberaldin.raccoonforlemmy.feature.settings"
|
2023-09-23 08:42:30 +02:00
|
|
|
compileSdk = libs.versions.android.targetSdk.get().toInt()
|
2023-07-20 14:24:50 +02:00
|
|
|
defaultConfig {
|
2023-09-23 08:42:30 +02:00
|
|
|
minSdk = libs.versions.android.minSdk.get().toInt()
|
2023-07-20 14:24:50 +02:00
|
|
|
}
|
2023-08-02 23:37:12 +02:00
|
|
|
}
|