mirror of
https://github.com/LiveFastEatTrashRaccoon/RaccoonForLemmy.git
synced 2025-02-04 04:07:32 +01:00
61 lines
1.4 KiB
Plaintext
61 lines
1.4 KiB
Plaintext
|
plugins {
|
||
|
kotlin("multiplatform")
|
||
|
id("com.android.library")
|
||
|
}
|
||
|
|
||
|
kotlin {
|
||
|
android {
|
||
|
compilations.all {
|
||
|
kotlinOptions {
|
||
|
jvmTarget = "1.8"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
listOf(
|
||
|
iosX64(),
|
||
|
iosArm64(),
|
||
|
iosSimulatorArm64()
|
||
|
).forEach {
|
||
|
it.binaries.framework {
|
||
|
baseName = "shared"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
sourceSets {
|
||
|
val commonMain by getting
|
||
|
val commonTest by getting {
|
||
|
dependencies {
|
||
|
implementation(kotlin("test"))
|
||
|
}
|
||
|
}
|
||
|
val androidMain by getting
|
||
|
val androidUnitTest by getting
|
||
|
val iosX64Main by getting
|
||
|
val iosArm64Main by getting
|
||
|
val iosSimulatorArm64Main by getting
|
||
|
val iosMain by creating {
|
||
|
dependsOn(commonMain)
|
||
|
iosX64Main.dependsOn(this)
|
||
|
iosArm64Main.dependsOn(this)
|
||
|
iosSimulatorArm64Main.dependsOn(this)
|
||
|
}
|
||
|
val iosX64Test by getting
|
||
|
val iosArm64Test by getting
|
||
|
val iosSimulatorArm64Test by getting
|
||
|
val iosTest by creating {
|
||
|
dependsOn(commonTest)
|
||
|
iosX64Test.dependsOn(this)
|
||
|
iosArm64Test.dependsOn(this)
|
||
|
iosSimulatorArm64Test.dependsOn(this)
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
namespace = "com.github.diegoberaldin.raccoonforlemmy"
|
||
|
compileSdk = 33
|
||
|
defaultConfig {
|
||
|
minSdk = 26
|
||
|
}
|
||
|
}
|