Fixed Javacord not being included in the final jar (#10)

Fixed Javacord not being included in the final jar

+ Fixed according to this issue https://github.com/johnrengelman/shadow/issues/448

Co-authored-by: Joey Hines <joey@ahines.net>
Reviewed-on: https://git.etztech.xyz/Minecraft/Hush/pulls/10
Reviewed-by: Etzelia <etzelia@noreply.example.org>
Co-Authored-By: ZeroHD <joey@ahines.net>
Co-Committed-By: ZeroHD <joey@ahines.net>
master
Joey Hines 2020-12-04 05:06:16 +01:00 committed by Etzelia
parent 25d280ed55
commit 8bcc4b026d
1 changed files with 8 additions and 6 deletions

View File

@ -22,12 +22,14 @@ repositories {
maven {url = 'https://jitpack.io'}
}
dependencies {
compileOnly 'org.spigotmc:spigot-api:1.16.3-R0.1-SNAPSHOT'
compile 'xyz.etztech:javacord:0.2.2'
shadowJar {
project.configurations.implementation.canBeResolved = true
configurations = [project.configurations.implementation]
archiveClassifier.set('')
}
shadowJar {
configurations = [project.configurations.compile]
archiveClassifier = ""
dependencies {
compileOnly 'org.spigotmc:spigot-api:1.16.3-R0.1-SNAPSHOT'
implementation 'xyz.etztech:javacord:0.2.2'
}