Open3

KSP with Kotlin Multiplatform

ykwsykws

For multiplatform projects, the ksp(...) configuration will be deprecated and removed.

マルチプラットフォームでの ksp(...) の構成は非推奨で削除予定。以下のようにターゲットごとに ksp を指定する

dependencies {
    add("kspCommonMainMetadata", project(":test-processor"))
    add("kspJvm", project(":test-processor"))
    add("kspJvmTest", project(":test-processor")) // Not doing anything because there's no test source set for JVM
    // There is no processing for the Linux x64 main source set, because kspLinuxX64 isn't specified
    add("kspLinuxX64Test", project(":test-processor"))
}