So I have a dependency and need to implement it into my .jar file (final export). Here's my build.graddle.kts: https://paste.md-5.net/mivovenaro.js
Here's the error I always run into:
Caused by: java.lang.ClassNotFoundException: com.xef5000.vigilance.Vigilant
I understand the error, it means that it couldn't find the clas 'com.xef5000.vigilance.Vigilant', but I did declare it in my build.graddle.kts here:
tasks.shadowJar {
archiveClassifier.set("")
relocate("gg.essential.vigilance", "com.xef5000.vigilance")
// vigilance dependencies
relocate("gg.essential.elementa", "com.xef5000.elementa")
// elementa dependencies
relocate("gg.essential.universalcraft", "com.xef5000.universalcraft")
dependencies{
include(dependency("org.spongepowered:mixin"))
}
}