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
parent
25d280ed55
commit
8bcc4b026d
14
build.gradle
14
build.gradle
|
@ -22,12 +22,14 @@ repositories {
|
||||||
maven {url = 'https://jitpack.io'}
|
maven {url = 'https://jitpack.io'}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
shadowJar {
|
||||||
compileOnly 'org.spigotmc:spigot-api:1.16.3-R0.1-SNAPSHOT'
|
project.configurations.implementation.canBeResolved = true
|
||||||
compile 'xyz.etztech:javacord:0.2.2'
|
configurations = [project.configurations.implementation]
|
||||||
|
archiveClassifier.set('')
|
||||||
}
|
}
|
||||||
|
|
||||||
shadowJar {
|
dependencies {
|
||||||
configurations = [project.configurations.compile]
|
compileOnly 'org.spigotmc:spigot-api:1.16.3-R0.1-SNAPSHOT'
|
||||||
archiveClassifier = ""
|
implementation 'xyz.etztech:javacord:0.2.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue