Raccoon/domain/identity/build.gradle.kts

55 lines
1.4 KiB
Plaintext
Raw Normal View History

2023-07-28 23:59:08 +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 {
applyDefaultHierarchyTemplate()
2023-07-28 23:59:08 +02:00
2023-11-06 22:48:51 +01:00
androidTarget {
2023-07-28 23:59:08 +02:00
compilations.all {
kotlinOptions {
jvmTarget = "1.8"
2023-07-28 23:59:08 +02:00
}
}
}
2023-09-27 23:27:38 +02:00
listOf(
iosX64(),
iosArm64(),
iosSimulatorArm64()
).forEach {
it.binaries.framework {
baseName = "domain-identity"
}
}
2023-07-28 23:59:08 +02:00
sourceSets {
val commonMain by getting {
dependencies {
implementation(libs.koin.core)
implementation(compose.foundation)
2023-12-20 00:45:20 +01:00
implementation(projects.core.preferences)
implementation(projects.core.api)
implementation(projects.core.utils)
implementation(projects.core.persistence)
implementation(projects.core.notifications)
2023-07-28 23:59:08 +02:00
}
}
val commonTest by getting {
dependencies {
implementation(kotlin("test"))
}
}
}
}
android {
namespace = "com.github.diegoberaldin.raccoonforlemmy.domain.identity"
compileSdk = libs.versions.android.targetSdk.get().toInt()
2023-07-28 23:59:08 +02:00
defaultConfig {
minSdk = libs.versions.android.minSdk.get().toInt()
2023-07-28 23:59:08 +02:00
}
}