-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
47 lines (38 loc) · 969 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
42
43
44
45
46
47
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.6.10"
kotlin("kapt") version "1.6.10"
id("com.palantir.graal") version "0.10.0"
id ("com.github.johnrengelman.shadow") version "7.1.1"
application
}
group = "net.hydrashead"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation("info.picocli:picocli:4.6.2")
implementation("commons-net:commons-net:3.8.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2-native-mt")
implementation("me.tongfei:progressbar:0.9.2")
kapt("info.picocli:picocli-codegen:4.6.2")
testImplementation(kotlin("test"))
}
kapt {
arguments {
arg("project", "${project.group}/${project.name}")
}
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
application {
mainClass.set("MainKt")
}
tasks.shadowJar {
minimize()
}