mirror of
https://git.undefined-dev.fr/Blendman974/faceclaw.git
synced 2026-11-19 21:03:09 +00:00
26 lines
746 B
Kotlin
26 lines
746 B
Kotlin
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
|
import org.jetbrains.kotlin.gradle.plugin.mpp.apple.XCFramework
|
|
|
|
plugins {
|
|
kotlin("multiplatform")
|
|
id("com.android.kotlin.multiplatform.library")
|
|
}
|
|
kotlin {
|
|
android {
|
|
namespace = "com.faceclaw.shared"
|
|
compileSdk = 35
|
|
minSdk = 24
|
|
compilerOptions { jvmTarget.set(JvmTarget.JVM_17) }
|
|
withHostTestBuilder {}.configure {}
|
|
}
|
|
val framework = XCFramework("FaceclawKit")
|
|
listOf(iosArm64(), iosSimulatorArm64()).forEach { target ->
|
|
target.binaries.framework {
|
|
baseName = "FaceclawKit"
|
|
isStatic = true
|
|
binaryOption("bundleId", "com.faceclaw.shared")
|
|
framework.add(this)
|
|
}
|
|
}
|
|
}
|