-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
73 lines (60 loc) · 1.8 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
plugins {
id("io.github.goooler.shadow") version "8.1.8"
id("java")
}
group = "de.bypixeltv"
version = "1.0.4-Beta"
repositories {
maven {
url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots")
}
mavenCentral()
maven {
name = "jitpack"
url = uri("https://jitpack.io")
}
maven {
name = "papermc"
url = uri("https://repo.papermc.io/repository/maven-public/")
}
maven {
name = "simplecloud"
url = uri("https://repo.thesimplecloud.eu/artifactory/list/gradle-release-local")
}
}
dependencies {
compileOnly("com.velocitypowered:velocity-api:3.3.0-SNAPSHOT")
// Jedis and SnakeYAML
implementation("redis.clients:jedis:5.2.0")
implementation("org.yaml:snakeyaml:2.3")
// CommandAPI and Jakarta Inject
implementation("dev.jorel:commandapi-velocity-shade:9.6.0-SNAPSHOT")
implementation("org.json:json:20240303")
// Lombok dependencies
annotationProcessor("org.projectlombok:lombok:1.18.34")
compileOnly("org.projectlombok:lombok:1.18.34")
// CloudNet
val cloudNetVersion = "4.0.0-RC11.1"
compileOnly("eu.cloudnetservice.cloudnet:driver:$cloudNetVersion")
compileOnly("eu.cloudnetservice.cloudnet:bridge:$cloudNetVersion")
compileOnly("eu.cloudnetservice.cloudnet:wrapper-jvm:$cloudNetVersion")
val simpleCloudVersion = "2.8.1"
compileOnly("eu.thesimplecloud.simplecloud", "simplecloud-api", simpleCloudVersion)
compileOnly("eu.thesimplecloud.simplecloud", "simplecloud-plugin", simpleCloudVersion)
}
sourceSets {
getByName("main") {
java {
srcDir("src/main/java")
}
}
}
tasks {
compileJava {
options.encoding = "UTF-8"
options.release.set(23)
}
build {
dependsOn(shadowJar)
}
}