Skip to content

Instantly share code, notes, and snippets.

@tmaxxdd
Created August 1, 2023 18:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmaxxdd/a524a43eeafafd4bbae7217057bb0546 to your computer and use it in GitHub Desktop.
Save tmaxxdd/a524a43eeafafd4bbae7217057bb0546 to your computer and use it in GitHub Desktop.
kotlin {
// Android
jvm {
compilations.all {
kotlinOptions.jvmTarget = "1.8"
}
withJava()
testRuns["test"].executionTask.configure {
useJUnitPlatform()
}
}
// iOS
iosX64()
iosArm64()
iosSimulatorArm64()
// Desktop
mingwX64()
linuxX64()
linuxArm64()
macosX64()
macosArm64()
// Web
js {
browser()
nodejs()
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment