Raccoon/feature-inbox/build.gradle.kts

75 lines
2.3 KiB
Plaintext
Raw Normal View History

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 {
targetHierarchy.default()
2023-11-06 22:48:51 +01:00
androidTarget {
2023-07-20 14:24:50 +02:00
compilations.all {
kotlinOptions {
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 {
baseName = "feature-inbox"
}
}
2023-07-20 14:24:50 +02:00
sourceSets {
val commonMain by getting {
dependencies {
implementation(libs.koin.core)
implementation(compose.runtime)
implementation(compose.foundation)
implementation(compose.material)
2023-07-20 14:24:50 +02:00
implementation(compose.material3)
implementation(compose.materialIconsExtended)
2023-07-20 14:24:50 +02:00
@OptIn(org.jetbrains.compose.ExperimentalComposeLibrary::class)
implementation(compose.components.resources)
implementation(libs.voyager.navigator)
implementation(libs.voyager.tab)
implementation(libs.voyager.bottomsheet)
2023-07-22 05:08:05 +02:00
implementation(projects.resources)
implementation(projects.coreArchitecture)
implementation(projects.coreAppearance)
implementation(projects.coreCommonui)
implementation(projects.coreCommonui.components)
implementation(projects.coreUtils)
implementation(projects.corePreferences)
2023-10-02 08:39:44 +02:00
implementation(projects.corePersistence)
implementation(projects.coreNotifications)
implementation(projects.domainLemmy.data)
implementation(projects.domainLemmy.repository)
implementation(projects.domainIdentity)
2023-07-20 14:24:50 +02:00
}
}
val commonTest by getting {
dependencies {
implementation(kotlin("test"))
}
}
}
}
android {
namespace = "com.github.diegoberaldin.raccoonforlemmy.feature.inbox"
compileSdk = libs.versions.android.targetSdk.get().toInt()
2023-07-20 14:24:50 +02:00
defaultConfig {
minSdk = libs.versions.android.minSdk.get().toInt()
2023-07-20 14:24:50 +02:00
}
}