mirror of
https://github.com/LiveFastEatTrashRaccoon/RaccoonForLemmy.git
synced 2025-02-10 03:00:43 +01:00
65 lines
1.8 KiB
Plaintext
65 lines
1.8 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"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
iosX64()
|
||
|
iosArm64()
|
||
|
iosSimulatorArm64()
|
||
|
|
||
|
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.coreNavigation)
|
||
|
implementation(projects.unitPostdetail)
|
||
|
implementation(projects.unitCommunitydetail)
|
||
|
implementation(projects.unitUserdetail)
|
||
|
implementation(projects.coreCommonui.detailopenerApi)
|
||
|
|
||
|
implementation(projects.domainLemmy.data)
|
||
|
|
||
|
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()
|
||
|
}
|
||
|
}
|