MPP wizard: drop some target names to use defaults instead
This commit is contained in:
+1
-1
@@ -145,7 +145,7 @@ class KotlinGradleMobileSharedMultiplatformModuleBuilder : KotlinGradleAbstractM
|
||||
apply plugin: 'maven-publish'
|
||||
|
||||
kotlin {
|
||||
jvm("$jvmTargetName")
|
||||
jvm()
|
||||
// This is for iPhone emulator
|
||||
// Switch here to iosArm64 (or iosArm32) to build library for iPhone device
|
||||
iosX64("$nativeTargetName") {
|
||||
|
||||
+2
-2
@@ -181,8 +181,8 @@ class KotlinGradleSharedMultiplatformModuleBuilder : KotlinGradleAbstractMultipl
|
||||
apply plugin: 'maven-publish'
|
||||
|
||||
kotlin {
|
||||
jvm("$jvmTargetName")
|
||||
js("$jsTargetName")
|
||||
jvm()
|
||||
js()
|
||||
// For ARM, should be changed to iosArm32 or iosArm64
|
||||
// For Linux, should be changed to e.g. linuxX64
|
||||
// For MacOS, should be changed to e.g. macosX64
|
||||
|
||||
+2
-2
@@ -236,8 +236,8 @@ class KotlinGradleWebMultiplatformModuleBuilder : KotlinGradleAbstractMultiplatf
|
||||
def logback_version = '1.2.3'
|
||||
|
||||
kotlin {
|
||||
jvm("$jvmTargetName")
|
||||
js("$jsTargetName") {
|
||||
jvm()
|
||||
js() {
|
||||
compilations.all {
|
||||
kotlinOptions {
|
||||
languageVersion = "1.3"
|
||||
|
||||
Reference in New Issue
Block a user