Hi everyone! How can I add external libs to gradle projects? java.lang.NoClassDefFoundError: com/jcraft/jsch/JSchException
For example, I don’t want to include JSCH and MYSQL-Connector in my artifact jar, buy I want it to be used by plugin like classpath from MANIFEST in the server root like: mods/MyLibs/jsch.jar etc.
Sponge doesn’t load arbitrary jars. Any code which your plugin references must be loaded in a plugin. Either include them in your plugin jar, or create a ‘library plugin’ which does and depend on it.