-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
46 lines (35 loc) · 1.23 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.6.10"
application
}
group = "me.stefansevelda"
version = "1.0-SNAPSHOT"
fun kotlinCoroutines(module: String, version: String): Any =
"org.jetbrains.kotlinx:kotlinx-coroutines-$module:$version"
repositories {
mavenCentral()
}
dependencies {
implementation("io.arrow-kt:arrow-core:1.1.2")
implementation("io.arrow-kt:arrow-fx-coroutines:1.1.2")
implementation("io.arrow-kt:arrow-fx-stm:1.1.2")
// https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1")
testImplementation("io.kotest.extensions:kotest-assertions-arrow:1.2.5")
testImplementation(kotlinCoroutines("test", "1.5.2"))
testImplementation("io.kotest:kotest-assertions-arrow-jvm:4.4.3")
testImplementation("io.kotest:kotest-assertions-core-jvm:5.3.0")
testImplementation("org.junit.jupiter:junit-jupiter:5.8.1")
testImplementation(kotlin("test"))
implementation(kotlin("script-runtime"))
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "11"
}
application {
mainClass.set("MainKt")
}