This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
65 lines (51 loc) · 1.65 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
plugins {
id("java")
id("com.gradleup.shadow") version ("8.3.0")
}
group = "me.ghosty"
version = "1.3"
repositories {
mavenCentral()
maven("https://mvn.intelligence-modding.de/haoshoku")
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
}
dependencies {
compileOnly("org.spigotmc:spigot-api:1.21-R0.1-SNAPSHOT")
compileOnly("xyz/haoshoku/nick:NickAPI:v6.7")
/*shadowImpl("net.kyori:adventure-api:4.17.0")
shadowImpl("net.kyori:adventure-text-minimessage:4.17.0")
shadowImpl("net.kyori:adventure-text-serializer-legacy:4.17.0")
shadowImpl("net.kyori:adventure-platform-bungeecord:4.3.4")*/
implementation("net.kyori:adventure-api:4.17.0")
implementation("net.kyori:adventure-text-minimessage:4.17.0")
implementation("net.kyori:adventure-text-serializer-legacy:4.17.0")
implementation("net.kyori:adventure-platform-bungeecord:4.3.4")
/*implementation("net.md-5:bungeecord-chat:1.20-R0.2") {
isTransitive = false
}*/
compileOnly("org.projectlombok:lombok:1.18.34")
annotationProcessor("org.projectlombok:lombok:1.18.34")
}
/*val shadowImpl: Configuration by configurations.creating {
configurations.implementation.get().extendsFrom(this)
}*/
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
}
tasks {
compileJava {
options.encoding = "UTF-8"
}
assemble {
dependsOn(shadowJar)
}
processResources {
inputs.property("version", version)
filesMatching(listOf("plugin.yml")) {
expand(inputs.properties)
}
}
/*shadowJar {
configurations = listOf(shadowImpl)
}*/
}