Add Kotlin Multiplatform support by applying the following updates to the Kotlin generator:
Update the arkana.kt.erb template to ensure the generated Kotlin code is compatible with multiplatform projects by replacing the JVM only function ByteArray#toString(...) with its KMP counterpart ByeArray#decodeToString()
Add is_kotlin_multiplatform_module as a new yml configuration parameter that changes the generated build.gradle file and SourceSet folders to a KMP compatible ones when set to true.
Description
Add Kotlin Multiplatform support by applying the following updates to the Kotlin generator:
arkana.kt.erb
template to ensure the generated Kotlin code is compatible with multiplatform projects by replacing the JVM only functionByteArray#toString(...)
with its KMP counterpartByeArray#decodeToString()
is_kotlin_multiplatform_module
as a new yml configuration parameter that changes the generatedbuild.gradle
file andSourceSet
folders to a KMP compatible ones when set totrue
.