mirror of
https://github.com/LiveFastEatTrashRaccoon/RaccoonForLemmy.git
synced 2025-02-04 19:27:47 +01:00
71 lines
2.2 KiB
Plaintext
71 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 = "configureswipeactions"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
sourceSets {
|
||
|
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(compose.materialIconsExtended)
|
||
|
|
||
|
implementation(libs.koin.core)
|
||
|
implementation(libs.voyager.navigator)
|
||
|
implementation(libs.voyager.screenmodel)
|
||
|
implementation(libs.voyager.koin)
|
||
|
|
||
|
implementation(projects.core.utils)
|
||
|
implementation(projects.core.appearance)
|
||
|
implementation(projects.core.architecture)
|
||
|
implementation(projects.core.commonui.components)
|
||
|
implementation(projects.core.commonui.lemmyui)
|
||
|
implementation(projects.core.navigation)
|
||
|
implementation(projects.core.persistence)
|
||
|
implementation(projects.core.notifications)
|
||
|
|
||
|
implementation(projects.resources)
|
||
|
}
|
||
|
}
|
||
|
val commonTest by getting {
|
||
|
dependencies {
|
||
|
implementation(kotlin("test"))
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
namespace = "com.github.diegoberaldin.raccoonforlemmy.unit.configureswipeactions"
|
||
|
compileSdk = libs.versions.android.targetSdk.get().toInt()
|
||
|
defaultConfig {
|
||
|
minSdk = libs.versions.android.minSdk.get().toInt()
|
||
|
}
|
||
|
}
|