-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle.kts
36 lines (29 loc) · 811 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
// kotlin("jvm") version "1.7.20"
id("org.jetbrains.kotlin.jvm") version "1.7.20"
application
}
group = "com.lss233"
version = "1.0-SNAPSHOT"
repositories {
maven (url = "https://lss233.littleservice.cn/repositories/minecraft")
mavenCentral()
}
dependencies {
implementation("io.netty:netty-all:4.1.84.Final")
implementation("hu.webarticum:tree-printer:2.1.0")
implementation("cn.hutool:hutool-all:5.8.9")
implementation("com.google.code.gson:gson:2.10")
implementation("org.jetbrains.kotlin:kotlin-reflect:1.8.0")
testImplementation(kotlin("test"))
}
tasks.test {
useTestNG()
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
application {
mainClass.set("MainKt")
}