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'
|
apply plugin: 'maven-publish'
|
||||||
|
|
||||||
kotlin {
|
kotlin {
|
||||||
jvm("$jvmTargetName")
|
jvm()
|
||||||
// This is for iPhone emulator
|
// This is for iPhone emulator
|
||||||
// Switch here to iosArm64 (or iosArm32) to build library for iPhone device
|
// Switch here to iosArm64 (or iosArm32) to build library for iPhone device
|
||||||
iosX64("$nativeTargetName") {
|
iosX64("$nativeTargetName") {
|
||||||
|
|||||||
+2
-2
@@ -181,8 +181,8 @@ class KotlinGradleSharedMultiplatformModuleBuilder : KotlinGradleAbstractMultipl
|
|||||||
apply plugin: 'maven-publish'
|
apply plugin: 'maven-publish'
|
||||||
|
|
||||||
kotlin {
|
kotlin {
|
||||||
jvm("$jvmTargetName")
|
jvm()
|
||||||
js("$jsTargetName")
|
js()
|
||||||
// For ARM, should be changed to iosArm32 or iosArm64
|
// For ARM, should be changed to iosArm32 or iosArm64
|
||||||
// For Linux, should be changed to e.g. linuxX64
|
// For Linux, should be changed to e.g. linuxX64
|
||||||
// For MacOS, should be changed to e.g. macosX64
|
// For MacOS, should be changed to e.g. macosX64
|
||||||
|
|||||||
+2
-2
@@ -236,8 +236,8 @@ class KotlinGradleWebMultiplatformModuleBuilder : KotlinGradleAbstractMultiplatf
|
|||||||
def logback_version = '1.2.3'
|
def logback_version = '1.2.3'
|
||||||
|
|
||||||
kotlin {
|
kotlin {
|
||||||
jvm("$jvmTargetName")
|
jvm()
|
||||||
js("$jsTargetName") {
|
js() {
|
||||||
compilations.all {
|
compilations.all {
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
languageVersion = "1.3"
|
languageVersion = "1.3"
|
||||||
|
|||||||
Reference in New Issue
Block a user