Michael Paus
01/06/2024, 7:23 PMJeff Lockhart
01/06/2024, 7:33 PMtylerwilson
01/06/2024, 11:23 PMMichael Paus
01/07/2024, 10:26 AMjvmCommonMain
with the same structure as the other source folders and add this
@OptIn(ExperimentalKotlinGradlePluginApi::class)
applyDefaultHierarchyTemplate {
common {
group("jvmCommon") {
withAndroidTarget()
withJvm()
}
}
}
at the start of the kotlin
section in the build.gradle.kts file.
Thanks for the help.Jeff Lockhart
01/07/2024, 9:41 PMcompileOnly
and use some Gradle tricks to remove the JVM artifact from the Android target compilation.Michael Paus
01/08/2024, 8:19 AMJeff Lockhart
01/08/2024, 6:33 PM