There have been a bunch of features deprecated between Kotlin 1.5.32 and 1.9.24, as well as new features added. Any breaking changes were handled in #259. This PR updates pbandk to remove non-breaking deprecated features and adopt some of the new features. Specifically:
Kotlin no longer requires opt-in to the RequiresOptIn annotation
Kotlin/Native requires exceptions to be declared for proper Swift interop
Run Kotlin as part of the Gradle daemon
Migrate examples from the kotlin-js to the kotlin-multiplatform gradle plugin
Switch to the new compilerOptions Kotlin Gradle DSL
Replace until with the new ..< operator
Remove support for the legacy Kotlin/Native memory manager
Re-generate all of the generated code
Fix gradle task name for publishing to Sonatype
It'll probably be easiest to review this PR by looking at each commit separately since the changes are unrelated to each other. The description of each commit includes more details on each change.
There have been a bunch of features deprecated between Kotlin 1.5.32 and 1.9.24, as well as new features added. Any breaking changes were handled in #259. This PR updates pbandk to remove non-breaking deprecated features and adopt some of the new features. Specifically:
RequiresOptIn
annotationkotlin-js
to thekotlin-multiplatform
gradle plugincompilerOptions
Kotlin Gradle DSLuntil
with the new..<
operatorIt'll probably be easiest to review this PR by looking at each commit separately since the changes are unrelated to each other. The description of each commit includes more details on each change.