Difference between pages "RoboRumble/Participants/GigaRumble" and "Robocode/Gradle"
< RoboRumble | Participants(Difference between pages)
Jump to navigation
Jump to search
GrubbmGait (talk | contribs) (Updated ScalarR, Raven and GresSuffurd, removed BlackBox, re-entered RougeDC) |
(Created page with "[https://gradle.org/ Gradle] is a build tool commonly used for JVM programming languages. It supports a powerful plugin architecture for providing build features. == Robocode...") |
||
Line 1: | Line 1: | ||
− | + | [https://gradle.org/ Gradle] is a build tool commonly used for JVM programming languages. It supports a powerful plugin architecture for providing build features. | |
− | + | == Robocode Plugin == | |
− | |||
− | + | A [https://github.com/bnorm/robocode-gradle-plugin Gradle plugin for Robocode] has been created by [[User:Bnorm|Bnorm]] which automates a few pieces of the Robocode development cycle: | |
− | + | # Automatically downloads the configured version of Robocode (optionally can point at an existing install) | |
− | + | ## Adds the robocode.jar file to the project compile class path | |
− | + | ## If downloaded, automatically configures Robocode to point to development bin directory | |
− | + | # Flattens any dependencies into a single jar file | |
− | + | ## This allows using third-party dependencies | |
− | + | ## Also allows using alternative JVM languages (like Kotlin) which include their own standard library | |
− | + | # Adds tasks to Gradle for building each configured Robot and generates a Robocode compatible jar file | |
− | + | # Adds a task to Gradle for building class files and placing files in consistent directory for Robocode to read | |
− | + | # Adds a task to Gradle for running Robocode | |
− | + | # Adds a Gradle configuration with all Robocode runtime dependencies for automating targeting and movement challenges | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 19:28, 17 January 2021
Gradle is a build tool commonly used for JVM programming languages. It supports a powerful plugin architecture for providing build features.
Robocode Plugin
A Gradle plugin for Robocode has been created by Bnorm which automates a few pieces of the Robocode development cycle:
- Automatically downloads the configured version of Robocode (optionally can point at an existing install)
- Adds the robocode.jar file to the project compile class path
- If downloaded, automatically configures Robocode to point to development bin directory
- Flattens any dependencies into a single jar file
- This allows using third-party dependencies
- Also allows using alternative JVM languages (like Kotlin) which include their own standard library
- Adds tasks to Gradle for building each configured Robot and generates a Robocode compatible jar file
- Adds a task to Gradle for building class files and placing files in consistent directory for Robocode to read
- Adds a task to Gradle for running Robocode
- Adds a Gradle configuration with all Robocode runtime dependencies for automating targeting and movement challenges