Smallville7123
04/15/2019, 6:23 AMjava.util.ArrayDeque
in kotlin nativePavlo Liapota
04/15/2019, 6:26 AMSmallville7123
04/15/2019, 6:33 AMplugins {
id 'kotlin-multiplatform' version '1.3.30'
}
def kdsVersion = "1.0.0"
repositories {
mavenCentral()
maven { url "<https://dl.bintray.com/soywiz/soywiz>" }
}
dependencies {
// For multiplatform projects
implementation "com.soywiz:kds:$kdsVersion"
// For JVM/Android only
implementation "com.soywiz:kds-jvm:$kdsVersion"
// For JS only
implementation "com.soywiz:kds-js:$kdsVersion"
}
// settigs.gradle
enableFeaturePreview('GRADLE_METADATA')
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
linuxX64("linux") {
binaries {
executable {
// Change to specify fully qualified name of your application's entry point:
entryPoint = 'sample.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.
linuxMain {
}
linuxTest {
}
}
}
// Use the following Gradle tasks to run your application:
// :runReleaseExecutableLinux - without debug symbols
// :runDebugExecutableLinux - with debug symbols