-
Notifications
You must be signed in to change notification settings - Fork 21
Tournament Submissions
The gradle target distZip
will create a zip file that's good for tournament submissions. If you have IntelliJ set up according to IntelliJ-Setup, you can find distZip
in the Gradle tool window in the "distribution" folder, and just double click it. Otherwise you can run .\gradlew.bat distZip
from command line.
The zip will have all your compiled java code and any additional dependencies that you specified in build.gradle
. You can also specify additional files to put in the zip by modifying build.gradle. When you do that, you will be able to access the file from Java at runtime when running from your tournament zip.
You can find the zip in the build/distributions folder. Extract it somewhere and look in the bin folder for a batch file. It should work identically to run-bot.bat.
It would be smart to test your zip before you submit to the tournament. If you modify your rlbot.cfg to point to the bot config in your extracted zip folder, and run the java part of your bot from the batch file in the extracted zip's bin folder, that should be an adequate test.
Also, please follow https://github.com/RLBot/RLBotJavaExample/wiki/Auto-Launching-Java to make it even easier to run your bot and become eligible for the https://github.com/RLBot/RLBot/wiki/RLBot-Pack!