krontab/build.gradle

69 lines
1.5 KiB
Groovy
Raw Normal View History

2019-05-21 10:14:09 +00:00
buildscript {
repositories {
mavenLocal()
jcenter()
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
2020-10-08 09:24:34 +00:00
classpath "com.github.breadmoirai:github-release:$github_release_plugin_version"
2019-05-21 10:14:09 +00:00
}
}
2019-11-20 04:13:24 +00:00
plugins {
id "org.jetbrains.kotlin.multiplatform" version "$kotlin_version"
2020-06-03 14:10:06 +00:00
id "org.jetbrains.dokka" version "$dokka_version"
2019-11-20 04:13:24 +00:00
}
2021-01-02 13:42:10 +00:00
project.version = "0.5.0"
2020-11-21 08:58:19 +00:00
project.group = "dev.inmo"
2019-11-20 04:13:24 +00:00
apply from: "publish.gradle"
2020-10-08 09:24:34 +00:00
apply from: "github_release.gradle"
2019-05-21 10:14:09 +00:00
repositories {
mavenLocal()
jcenter()
mavenCentral()
maven { url "https://kotlin.bintray.com/kotlinx" }
}
2020-06-03 14:10:06 +00:00
apply from: './dokka.gradle'
2019-05-21 10:14:09 +00:00
kotlin {
2019-11-19 19:36:10 +00:00
jvm()
2020-08-22 15:36:55 +00:00
js(BOTH) {
browser()
nodejs()
}
2019-11-20 04:13:24 +00:00
2019-05-21 10:14:09 +00:00
sourceSets {
commonMain {
dependencies {
2019-11-20 04:13:24 +00:00
implementation kotlin('stdlib')
2020-08-22 15:36:55 +00:00
api "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlin_coroutines_version"
2019-10-04 17:47:20 +00:00
2019-10-08 17:42:50 +00:00
api "com.soywiz.korlibs.klock:klock:$klockVersion"
2019-05-23 06:42:38 +00:00
}
}
2019-11-20 04:13:24 +00:00
commonTest {
2019-10-05 18:21:00 +00:00
dependencies {
2019-11-20 04:13:24 +00:00
implementation kotlin('test-common')
implementation kotlin('test-annotations-common')
}
}
jvmTest {
dependencies {
implementation kotlin('test-junit')
2019-10-05 18:21:00 +00:00
}
}
2020-11-21 09:04:34 +00:00
jsTest {
2019-11-27 13:06:27 +00:00
dependencies {
2020-08-22 15:36:55 +00:00
implementation kotlin('test-js')
2019-11-27 13:06:27 +00:00
}
}
2019-05-21 10:14:09 +00:00
}
}