James Black
04/16/2022, 6:22 AMimport org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm")
id("kotlin-platform-jvm")
id("war")
id("application")
kotlin("plugin.serialization")
id("kotlinx-serialization")
}
And for shared/build.gradle.kts:
plugins {
kotlin("multiplatform")
id("kotlinx-serialization")
id("com.android.library")
id("org.jetbrains.kotlin.native.cocoapods")
id("com.codingfeline.buildkonfig")
}
version = "1.0"
kotlin {
android()
iosX64()
iosArm64()
iosSimulatorArm64()
jvm {
compilations.all {
kotlinOptions {
jvmTarget = "1.8"
}
}
}
And if you look at the screenshot, the top tab is for jvmMain and returns just a string, the middle is from androidMain and it throws an exception in my server project, which is caught in the third tab.
The code is in https://github.com/jblack975/MyOutfitPicker