mirror of
https://github.com/LiveFastEatTrashRaccoon/RaccoonForLemmy.git
synced 2025-02-05 10:47:49 +01:00
* chore: add local cache * chore: remove possibility to disable bottom sheet gestures * chore: add cache to detail opener and create entry points * chore: add query by id to multi-community * chore: update community detail * chore: update community info * chore: update create comment * chore: update create post * chore: update multi-community screens * chore: update user detail * chore: update user info * chore: update post detail * chore: update post list * chore: update modal drawer * chore: update subscription management * chore: update profile * chore: update saved items * chore: remove JavaSerializable closes #316
75 lines
2.2 KiB
Plaintext
75 lines
2.2 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 = "detailopener-impl"
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
val androidMain by getting {
|
|
dependencies {
|
|
implementation(libs.coil.compose)
|
|
}
|
|
}
|
|
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(libs.voyager.navigator)
|
|
|
|
implementation(projects.core.navigation)
|
|
implementation(projects.core.commonui.detailopenerApi)
|
|
|
|
implementation(projects.domain.lemmy.data)
|
|
implementation(projects.domain.lemmy.repository)
|
|
|
|
implementation(projects.unit.postdetail)
|
|
implementation(projects.unit.communitydetail)
|
|
implementation(projects.unit.userdetail)
|
|
implementation(projects.unit.createpost)
|
|
implementation(projects.unit.createcomment)
|
|
|
|
implementation(projects.resources)
|
|
}
|
|
}
|
|
val commonTest by getting {
|
|
dependencies {
|
|
implementation(kotlin("test"))
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
android {
|
|
namespace = "com.github.diegoberaldin.raccoonforlemmy.core.commonui.detailopener.impl"
|
|
compileSdk = libs.versions.android.targetSdk.get().toInt()
|
|
defaultConfig {
|
|
minSdk = libs.versions.android.minSdk.get().toInt()
|
|
}
|
|
}
|