gradlew jar / ./gradlew jar
gradlew jar
./gradlew jar
Output jar should be in build/libs.
build/libs
Put jar file to config/mods folder.
config/mods