stoyicker
03/28/2024, 5:50 PMkotlin {
jvm()
listOf(
macosX64(),
macosArm64(),
iosX64(),
iosArm64(),
iosSimulatorArm64(),
tvosSimulatorArm64(),
tvosX64(),
tvosArm64(),
).forEach {
it.binaries.framework {
baseName = project.name
isStatic = true
}
it.compilations.configureEach {
cinterops.create("cinterop") {
defFile(project.file("src/appleMain/cinterop/network_framework.def"))
}
}
}
}