This repository has been archived by the owner on Dec 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
78 lines (63 loc) · 2 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
plugins {
id("java")
// ShadowJar (https://github.com/johnrengelman/shadow/releases)
id("com.github.johnrengelman.shadow") version "7.1.2"
}
group = "me.zax71"
version = "1.5.0"
repositories {
mavenCentral()
// mavenLocal()
maven("https://jitpack.io")
maven("https://repo.panda-lang.org/releases")
maven(url = "https://s01.oss.sonatype.org/content/repositories/snapshots/") {
name = "sonatype-oss-snapshots"
}
}
dependencies {
// Minestom
implementation("dev.hollowcube:minestom-ce:010fe985bb")
// Polar
implementation("dev.hollowcube:polar:1.3.1")
// Endercube common lib
implementation("com.github.ender-cube:endercubecommon:v2.2.0")
// implementation("net.endercube:EndercubeCommon:2.0.0")
// HikariCP
implementation("com.zaxxer:HikariCP:5.0.1")
// Kyori stuff (Adventure)
implementation("net.kyori:adventure-text-serializer-plain:4.13.1")
implementation("net.kyori:adventure-text-minimessage:4.13.1")
implementation("net.kyori:adventure-text-serializer-ansi:4.14.0-SNAPSHOT")
// Configuration API
implementation("org.spongepowered:configurate-hocon:4.1.2")
// LiteCommands (command framework)
implementation("dev.rollczi.litecommands:core:2.8.7")
implementation("dev.rollczi.litecommands:minestom:2.8.7")
// Logger
implementation("ch.qos.logback:logback-classic:1.3.3")
// Web server (for API)
implementation("io.javalin:javalin:5.5.0")
// Redis (Jedis)
implementation("redis.clients:jedis:4.3.0")
// Guava (for sending plugin messages) https://github.com/google/guava
implementation("com.google.guava:guava:32.1.1-jre")
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
tasks {
jar {
manifest {
attributes["Main-Class"] = "me.zax71.stomKor.Main"
}
}
build {
dependsOn(shadowJar)
}
shadowJar {
mergeServiceFiles()
archiveClassifier.set("") // Prevent the -all suffix
}
}