2023-07-20 14:24:50 +02:00
|
|
|
plugins {
|
|
|
|
alias(libs.plugins.kotlin.multiplatform)
|
|
|
|
alias(libs.plugins.android.library)
|
|
|
|
alias(libs.plugins.compose)
|
|
|
|
}
|
|
|
|
|
|
|
|
@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(),
|
|
|
|
iosSimulatorArm64()
|
|
|
|
).forEach {
|
|
|
|
it.binaries.framework {
|
2023-12-20 11:54:52 +01:00
|
|
|
baseName = "search"
|
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-26 22:43:30 +02:00
|
|
|
implementation(compose.materialIconsExtended)
|
2023-08-04 15:18:57 +02:00
|
|
|
implementation(compose.material)
|
2023-07-20 14:24:50 +02:00
|
|
|
|
2023-12-22 11:39:20 +01:00
|
|
|
implementation(libs.koin.core)
|
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-08-04 20:06:10 +02:00
|
|
|
implementation(libs.voyager.bottomsheet)
|
2023-07-22 05:08:05 +02:00
|
|
|
|
2023-12-20 00:45:20 +01:00
|
|
|
implementation(projects.core.appearance)
|
2024-02-13 22:37:13 +01:00
|
|
|
implementation(projects.core.architecture)
|
2023-12-20 00:45:20 +01:00
|
|
|
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-20 00:45:20 +01:00
|
|
|
implementation(projects.domain.identity)
|
|
|
|
implementation(projects.domain.lemmy.data)
|
|
|
|
implementation(projects.domain.lemmy.repository)
|
2024-03-21 19:28:44 +01:00
|
|
|
|
|
|
|
implementation(projects.unit.createreport)
|
|
|
|
implementation(projects.unit.createcomment)
|
|
|
|
implementation(projects.unit.explore)
|
|
|
|
implementation(projects.unit.web)
|
|
|
|
implementation(projects.unit.zoomableimage)
|
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.search"
|
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
|
|
|
}
|