-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
49 lines (37 loc) · 1 KB
/
build.gradle
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
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.6.21'
id 'org.jetbrains.kotlin.plugin.serialization' version '1.6.21'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'application'
}
group = 'cc.lixou'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
api 'com.github.Minestom:Minestom:8ce43ca40c'
api 'com.github.Project-Cepi:KStom:82f7000079'
implementation 'com.charleskorn.kaml:kaml:0.44.0'
// Get the latest version number from https://github.com/charleskorn/kaml/releases/latest
api "net.kyori:adventure-text-minimessage:4.11.0"
testImplementation 'org.jetbrains.kotlin:kotlin-test'
}
test {
useJUnitPlatform()
}
compileKotlin {
kotlinOptions.jvmTarget = '17'
}
compileTestKotlin {
kotlinOptions.jvmTarget = '17'
}
shadowJar {
archivesBaseName = project.name
mergeServiceFiles()
//minimize() <- makes error with tinylog >:(
}
application {
mainClassName = 'MainKt'
}