2019-05-21 10:14:09 +00:00
|
|
|
project.version = "0.1.0"
|
|
|
|
project.group = "com.github.insanusmokrassar"
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
jcenter()
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:$gradle_bintray_plugin_version"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'kotlin-multiplatform'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
jcenter()
|
|
|
|
mavenCentral()
|
|
|
|
maven { url "https://kotlin.bintray.com/kotlinx" }
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
jvm("jvm8")
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
2019-05-23 06:42:38 +00:00
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core-common:$kotlin_coroutines_version"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
jvm8Main {
|
|
|
|
dependencies {
|
2019-05-21 10:14:09 +00:00
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlin_coroutines_version"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply from: "publish.gradle"
|