44 lines
No EOL
1.7 KiB
Groovy
44 lines
No EOL
1.7 KiB
Groovy
plugins {
|
|
id "java"
|
|
id "io.github.goooler.shadow" version "8.1.8"
|
|
}
|
|
|
|
processResources {
|
|
expand("version": version)
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly "me.clip:placeholderapi:2.11.6" // Placeholder support
|
|
implementation "com.google.code.gson:gson:2.12.1" // JSON parsing
|
|
implementation "com.github.retrooper:packetevents-spigot:2.7.1-SNAPSHOT" // Packets
|
|
implementation "space.arim.dazzleconf:dazzleconf-ext-snakeyaml:1.2.1" // Configs
|
|
implementation "lol.pyr:director-adventure:2.1.2" // Commands
|
|
|
|
// Fancy text library
|
|
implementation "net.kyori:adventure-platform-bukkit:4.3.4"
|
|
implementation "net.kyori:adventure-text-minimessage:4.18.0"
|
|
|
|
implementation project(":api")
|
|
}
|
|
|
|
shadowJar {
|
|
archivesBaseName = "ZNPCsPlus"
|
|
archiveClassifier.set ""
|
|
|
|
relocate "org.objectweb.asm", "lol.pyr.znpcsplus.libraries.asm"
|
|
relocate "me.lucko.jarrelocator", "lol.pyr.znpcsplus.libraries.jarrelocator"
|
|
|
|
relocate "org.bstats", "lol.pyr.znpcsplus.libraries.bstats"
|
|
relocate "net.kyori", "lol.pyr.znpcsplus.libraries.kyori"
|
|
relocate "org.checkerframework", "lol.pyr.znpcsplus.libraries.checkerframework"
|
|
relocate "com.google.gson", "lol.pyr.znpcsplus.libraries.gson"
|
|
relocate "com.github.retrooper.packetevents", "lol.pyr.znpcsplus.libraries.packetevents.api"
|
|
relocate "io.github.retrooper.packetevents", "lol.pyr.znpcsplus.libraries.packetevents.impl"
|
|
relocate "org.yaml.snakeyaml", "lol.pyr.znpcsplus.libraries.snakeyaml"
|
|
relocate "space.arim.dazzleconf", "lol.pyr.znpcsplus.libraries.dazzleconf"
|
|
relocate "lol.pyr.director", "lol.pyr.znpcsplus.libraries.command"
|
|
|
|
minimize()
|
|
}
|
|
|
|
tasks.assemble.dependsOn shadowJar |