Created
January 31, 2018 07:19
-
-
Save Albert-Gao/10c3d8c801b5d303ca81202847cc1976 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
ext.kotlin_native_version = '0.5' | |
ext.kotlin_version = '1.2.21' | |
repositories { | |
mavenCentral() | |
maven { | |
url "https://dl.bintray.com/jetbrains/kotlin-native-dependencies" | |
} | |
} | |
dependencies { | |
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | |
classpath "org.jetbrains.kotlin:kotlin-native-gradle-plugin:$kotlin_native_version" | |
} | |
} | |
group 'nz.salect' | |
version '0.1' | |
apply plugin: 'kotlin' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
compile "org.jetbrains.kotlin:kotlin-stdlib" | |
} | |
apply plugin: "konan" | |
konan.targets = ["iphone", "iphone_sim"] | |
konanArtifacts { | |
framework('nativeLibs') | |
} | |
kotlin { | |
experimental { | |
coroutines "enable" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment