Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plugins {
- id 'kotlin-multiplatform' version '1.3.31'
- }
- repositories {
- jcenter()
- mavenCentral()
- }
- group 'com.example'
- version '0.0.1'
- apply plugin: 'maven-publish'
- kotlin {
- 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
- // For Windows, should be changed to e.g. mingwX64
- linuxX64("linux")
- sourceSets {
- commonMain {
- dependencies {
- implementation kotlin('stdlib-common')
- implementation 'org.jetbrains.kotlinx:kotlinx-io:0.1.9'
- }
- }
- commonTest {
- dependencies {
- implementation kotlin('test-common')
- implementation kotlin('test-annotations-common')
- }
- }
- jvmMain {
- dependencies {
- implementation kotlin('stdlib-jdk8')
- compile 'org.jetbrains.kotlinx:kotlinx-io-jvm:0.1.9'
- }
- }
- jvmTest {
- dependencies {
- implementation kotlin('test')
- implementation kotlin('test-junit')
- }
- }
- jsMain {
- dependencies {
- implementation kotlin('stdlib-js')
- }
- }
- jsTest {
- dependencies {
- implementation kotlin('test-js')
- }
- }
- linuxMain {
- }
- linuxTest {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement