initial commit v 0.2.0
Verify source and build Android / android (push) Canceled after 0s

This commit is contained in:
2026-09-24 22:49:27 +02:00
commit db873063f8
129 changed files with 7512 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
import org.jetbrains.kotlin.gradle.plugin.mpp.apple.XCFramework
plugins { alias(libs.plugins.kotlin.multiplatform) }
kotlin {
jvm()
jvmToolchain(17)
// Pure common Kotlin. Android consumes the JVM variant, not an Android-dependent core.
// Apple targets are opt-in so Android/Linux development never needs an Apple toolchain.
if (providers.gradleProperty("enableIos").orNull == "true") {
val xc = XCFramework("FileworkbenchCore")
listOf(iosArm64(), iosSimulatorArm64()).forEach { target ->
target.binaries.framework {
baseName = "FileworkbenchCore"
isStatic = true
xc.add(this)
}
}
}
sourceSets {
commonTest.dependencies { implementation(kotlin("test")) }
}
}