forked from Minecraft/Hush
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'}
|
||||
}
|
||||
|
||||
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'
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue