Raccoon/feature-home/build.gradle.kts

74 lines
2.1 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)
alias(libs.plugins.native.cocoapods)
}
@OptIn(org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi::class)
kotlin {
targetHierarchy.default()
android {
compilations.all {
kotlinOptions {
jvmTarget = "1.8"
}
}
}
iosX64()
iosArm64()
iosSimulatorArm64()
cocoapods {
summary = "Some description for the Shared Module"
homepage = "Link to the Shared Module homepage"
version = "1.0.0"
ios.deploymentTarget = "14.1"
framework {
baseName = "feature-home"
}
}
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.material3)
2023-07-25 21:08:10 +02:00
implementation(compose.material)
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)
2023-07-26 22:43:30 +02:00
implementation(libs.compose.imageloader)
2023-07-22 05:08:05 +02:00
implementation(projects.resources)
implementation(projects.coreAppearance)
implementation(projects.coreArchitecture)
2023-07-25 23:33:34 +02:00
implementation(projects.coreUtils)
2023-07-24 23:03:08 +02:00
implementation(projects.coreMd)
2023-07-28 23:59:08 +02:00
implementation(projects.domainIdentity)
implementation(projects.domainPost.data)
implementation(projects.domainPost.repository)
2023-07-20 14:24:50 +02:00
}
}
val commonTest by getting {
dependencies {
implementation(kotlin("test"))
}
}
}
}
android {
2023-07-22 05:08:05 +02:00
namespace = "com.github.diegoberaldin.raccoonforlemmy.feature_home"
2023-07-20 14:24:50 +02:00
compileSdk = 33
defaultConfig {
minSdk = 26
}
}