MovingBlocks
Groovy: Add Facade Utility Commands
Add Facade Utility Commands to Groovy
Terasology currently uses some utility commands written in Gradle (called by running gradlew X
from the root directory) for various functions including fetching and managing modules. As Gradle is meant for building code it can become awkward for utility.
Enter Groovy. Earlier this year, we developed a Groovy wrapper which aims to solve most of the problems we had with utility in Gradle. All that is left to do now is to port the remaining old Gradle utility commands to Groovy.
Your task is to create a facade.groovy
file that creates commands for retrieving and creating facades.
Examples:
groovyw facade get Server
will replacegradlew fetchFacadeServer
and will retrieve https://github.com/MovingBlocks/FacadeServergroovyw facade create MyFacade
will create a new local facade named "MyFacade"
Definition of "Done"
- You have created a PR that adds the required commands which can can be used by running
groovyw X
from the home directory.
Where to start
- Take a look at other Groovy commands to get an idea of how Groovy works. The module.groovy would be a good place to start.
Task tags
Students who completed this task
Max Borsch