Raccoon/feature-settings/build.gradle.kts
Diego Beraldin 3bfb1b7fdf
feat: comment bar theme (#239); closes #219
* feat: component for preview

* feat: update model and persistence

* feat: update comment UI

* feat: update settings UI

* chore: update l10n
2023-12-07 16:13:15 +01:00

74 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 {
applyDefaultHierarchyTemplate()
androidTarget {
compilations.all {
kotlinOptions {
jvmTarget = "1.8"
}
}
}
listOf(
iosX64(),
iosArm64(),
iosSimulatorArm64()
).forEach {
it.binaries.framework {
baseName = "feature-settings"
}
}
sourceSets {
val commonMain by getting {
dependencies {
implementation(libs.koin.core)
implementation(compose.runtime)
implementation(compose.foundation)
implementation(compose.material3)
implementation(compose.materialIconsExtended)
@OptIn(org.jetbrains.compose.ExperimentalComposeLibrary::class)
implementation(compose.components.resources)
implementation(libs.voyager.navigator)
implementation(libs.voyager.tab)
implementation(libs.voyager.bottomsheet)
implementation(projects.coreAppearance)
implementation(projects.corePreferences)
implementation(projects.corePersistence)
implementation(projects.coreArchitecture)
implementation(projects.coreUtils)
implementation(projects.coreNavigation)
implementation(projects.coreCommonui)
implementation(projects.coreCommonui.components)
implementation(projects.coreNotifications)
implementation(projects.resources)
implementation(projects.domainLemmy.data)
implementation(projects.domainLemmy.repository)
implementation(projects.domainIdentity)
}
}
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()
}
}