-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
41 lines (35 loc) · 1000 Bytes
/
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
plugins {
java
kotlin("jvm") version "1.6.0"
application
}
application {
mainClass.set("eu.bunburya.apogee.MainKt")
}
group = "eu.bunburya"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib"))
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
implementation("org.jetbrains.kotlinx:kotlinx-cli:0.3.5")
// https://mvnrepository.com/artifact/io.netty/netty-all
implementation("io.netty", "netty-all", "4.1.63.Final")
// https://mvnrepository.com/artifact/com.moandjiezana.toml/toml4j
implementation("com.moandjiezana.toml", "toml4j", "0.7.2")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.0")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
}
tasks.getByName<Test>("test") {
useJUnitPlatform()
}
tasks {
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
}