I have a discord bot coded in Java and Gradle, and I need to find how to make it work. I ask the owner of the bot and he answers me : "./gradlew shadowJar" What does it mean? And what do I need to do make the bot work?
I already tried to compile the java file in jar, I tried to make a manifest but I couldn't make classes.
All I tried is:
javac Bot.java
-> Didn't work, error: package ch.qos.logback.classic does not exist
jar cvfm Bot.jar MANIFEST.MF server handlers commons commands audio
-> made a .jar file that doesn't do anything
jar tf Bot.jar
-> don't know what this does but there were no errors
java -jar Bot.jar
-> error: no main manifest attribute in bot.jar
It should make a jar file that makes the bot work but instead, it makes just errors or files that don't work.
Can someone help me to make this bot work?