-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
58 lines (46 loc) · 1.34 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
47
48
49
50
51
52
53
54
55
56
57
58
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.8.0-RC2"
id("com.github.johnrengelman.shadow") version "7.1.2"
application
id("java")
}
group = "cz.lastaapps"
version = "1.0.0"
repositories {
mavenCentral()
}
dependencies {
// Arrow
implementation("io.arrow-kt:arrow-core:1.1.2")
implementation("io.arrow-kt:arrow-fx-coroutines:1.0.1")
implementation("io.arrow-kt:arrow-fx-stm:1.0.1")
// Kotlin
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.4.0")
implementation("org.jetbrains.kotlinx:kotlinx-collections-immutable:0.3.5")
implementation("org.jetbrains.kotlinx:kotlinx-cli:0.3.5")
// Kotest
testImplementation("io.kotest:kotest-runner-junit5:5.5.4")
testImplementation("io.kotest:kotest-assertions-core:5.5.4")
testImplementation(kotlin("test"))
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "11"
kotlinOptions.languageVersion = "1.9"
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
application {
mainClass.set("MainKt")
}
tasks.withType<ShadowJar> {
archiveBaseName.set("lispik")
archiveClassifier.set("")
archiveVersion.set("1.0.0")
}