Hi,
I'am making a forge mod with this library : https://github.com/MinnDevelopment/java-discord-rpc
When i run Minecraft Client on IntelliJ, it works but when i build the mod and i put it on my mod's folder and i run my minecraft launcher i have this error : https://pastebin.com/TAz96zDL
i think that i need to put the dependency in my jar file, here's my dependencies :
configurations {
embed
compile.extendsFrom(embed)
}
dependencies {
// This dependency and its transitive deps will be embedded
embed 'club.minnced:java-discord-rpc:2.0.1'
compile 'club.minnced:java-discord-rpc:2.0.1'
}
jar {
from configurations.embed.collect { it.isDirectory() ? it : zipTree(it) }
}
Sorry for my bad english, i'm french...