2023-07-23 11:41:01 +02:00
|
|
|
plugins {
|
|
|
|
alias(libs.plugins.kotlin.multiplatform)
|
|
|
|
alias(libs.plugins.android.library)
|
|
|
|
alias(libs.plugins.native.cocoapods)
|
|
|
|
}
|
|
|
|
|
|
|
|
@OptIn(org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi::class)
|
|
|
|
kotlin {
|
|
|
|
targetHierarchy.default()
|
|
|
|
|
|
|
|
android {
|
|
|
|
compilations.all {
|
|
|
|
kotlinOptions {
|
2023-07-31 22:58:34 +02:00
|
|
|
jvmTarget = "17"
|
2023-07-23 11:41:01 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
iosX64()
|
|
|
|
iosArm64()
|
|
|
|
iosSimulatorArm64()
|
|
|
|
|
|
|
|
cocoapods {
|
|
|
|
summary = "Some description for the Shared Module"
|
|
|
|
homepage = "Link to the Shared Module homepage"
|
|
|
|
version = "1.0"
|
|
|
|
ios.deploymentTarget = "14.1"
|
|
|
|
framework {
|
|
|
|
baseName = "repository"
|
|
|
|
}
|
|
|
|
}
|
2023-08-01 19:03:06 +02:00
|
|
|
|
2023-07-23 11:41:01 +02:00
|
|
|
sourceSets {
|
|
|
|
val commonMain by getting {
|
|
|
|
dependencies {
|
|
|
|
implementation(libs.koin.core)
|
|
|
|
implementation(libs.ktorfit.lib)
|
|
|
|
implementation(projects.coreApi)
|
2023-08-01 19:03:06 +02:00
|
|
|
implementation(projects.domainLemmy.data)
|
2023-07-23 11:41:01 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
val commonTest by getting {
|
|
|
|
dependencies {
|
|
|
|
implementation(kotlin("test"))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2023-08-02 23:37:12 +02:00
|
|
|
namespace = "com.github.diegoberaldin.raccoonforlemmy.domain.lemmy.repository"
|
2023-07-23 11:41:01 +02:00
|
|
|
compileSdk = 33
|
|
|
|
defaultConfig {
|
|
|
|
minSdk = 26
|
|
|
|
}
|
2023-08-01 19:03:06 +02:00
|
|
|
}
|