Gradle shade not shading in one operating system, but does in another

I made a docker container meant to build all my paper plugins (minecraft server). The problem is that by somre reason, it does not shade what is otherwise being shade when I run the same command in my OS (windows) Does anyone have a clue what would be the case? I'm quite new to gradle, so that might be the cause. Here's part of the build script:
shadowJar {
dependencies {
include(dependency("net.wesjd:anvilgui"))
}
relocate("net.wesjd.anvilgui", project.group.toString() + "." + project.name + ".anvilgui")
archiveClassifier.set("")
}
shadowJar {
dependencies {
include(dependency("net.wesjd:anvilgui"))
}
relocate("net.wesjd.anvilgui", project.group.toString() + "." + project.name + ".anvilgui")
archiveClassifier.set("")
}
I run the following process with the command gradle clean install:
register("install") {
dependsOn("build", "shadowJar")
}
register("install") {
dependsOn("build", "shadowJar")
}
3 Replies
JavaBot
JavaBot4mo ago
This post has been reserved for your question.
Hey @Thorinwasher! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
JavaBot
JavaBot4mo ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.
Want results from more Discord servers?
Add your server