КР
Size: a a a
КР
AN
КР
AM
DS
plugins {
id 'org.jetbrains.kotlin.multiplatform' version '1.3.41'
}
repositories {
mavenCentral()
}
kotlin {
// 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
// For Windows, should be changed to e.g. mingwX64
macosX64("macos") {
binaries {
executable {
// Change to specify fully qualified name of your application's entry point:
entryPoint = 'main’
// Specify command-line arguments, if necessary:
runTask?.args('')
}
}
}
sourceSets {
// Note: To enable common source sets please comment out 'kotlin.import.noCommonSourceSets' property
// in gradle.properties file and re-import your project in IDE.
macosMain {
dependencies {
implementation 'com.github.ajalt:clikt:2.3.0'
}
}
macosTest {
}
}
}
// Use the following Gradle tasks to run your application:
// :runReleaseExecutableMacos - without debug symbols
// :runDebugExecutableMacos - with debug symbols
plementation 'c
om.github.ajalt:clikt:2.3.0'package main
import clikt.*
fun main (args: Array<String>) {
args.forEach(::println)
}
DS
AM
LS
AM
AM
AM
AN
AM
DS
mavenCentral
в native проект?AN
mavenCentral
в native проект?AM
mavenCentral
в native проект?VP
AM
AM
AM