mirror of
https://github.com/LiveFastEatTrashRaccoon/RaccoonForLemmy.git
synced 2025-02-03 16:37:32 +01:00
34c8f38559
* refactor: introduce swipe action card with custom actions * refactor: migrate all screen towards new component * feat: apply default swipe actions to all screens * feat: add persistence in settings * feat: new screen bare bones * feat: add logic implementation * feat: add UI implementation * feat: color for save action * chore: refine UI and add l10ns closes #460
87 lines
3.0 KiB
Plaintext
87 lines
3.0 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 = "settings"
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
val commonMain by getting {
|
|
dependencies {
|
|
implementation(compose.runtime)
|
|
implementation(compose.foundation)
|
|
implementation(compose.material3)
|
|
implementation(compose.materialIconsExtended)
|
|
@OptIn(org.jetbrains.compose.ExperimentalComposeLibrary::class)
|
|
implementation(compose.components.resources)
|
|
|
|
implementation(libs.koin.core)
|
|
implementation(libs.voyager.navigator)
|
|
implementation(libs.voyager.screenmodel)
|
|
implementation(libs.voyager.koin)
|
|
implementation(libs.voyager.tab)
|
|
implementation(libs.voyager.bottomsheet)
|
|
|
|
implementation(projects.core.appearance)
|
|
implementation(projects.core.preferences)
|
|
implementation(projects.core.persistence)
|
|
implementation(projects.core.architecture)
|
|
implementation(projects.core.utils)
|
|
implementation(projects.core.navigation)
|
|
implementation(projects.core.commonui.components)
|
|
implementation(projects.core.commonui.lemmyui)
|
|
implementation(projects.core.commonui.modals)
|
|
implementation(projects.core.commonui.detailopenerApi)
|
|
implementation(projects.core.notifications)
|
|
|
|
implementation(projects.domain.lemmy.data)
|
|
implementation(projects.domain.lemmy.repository)
|
|
implementation(projects.domain.identity)
|
|
|
|
implementation(projects.unit.web)
|
|
implementation(projects.unit.about)
|
|
implementation(projects.unit.accountsettings)
|
|
implementation(projects.unit.manageban)
|
|
implementation(projects.unit.choosecolor)
|
|
implementation(projects.unit.choosefont)
|
|
implementation(projects.unit.configureswipeactions)
|
|
|
|
implementation(projects.resources)
|
|
}
|
|
}
|
|
val commonTest by getting {
|
|
dependencies {
|
|
implementation(kotlin("test"))
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
android {
|
|
namespace = "com.github.diegoberaldin.raccoonforlemmy.feature.settings"
|
|
compileSdk = libs.versions.android.targetSdk.get().toInt()
|
|
defaultConfig {
|
|
minSdk = libs.versions.android.minSdk.get().toInt()
|
|
}
|
|
}
|