An extension for colcon-core to support Gradle projects.
For all packages with build.gradle
files:
colcon build
will callgradle assemble
colcon test
will callgradle test
Gradle wrappers will be used if present.
pip install -U colcon-gradle
Follow the instructions at https://colcon.readthedocs.io/en/released/developer/bootstrap.html, except in "Fetch the sources" add the following to colcon.repos
:
colcon-gradle:
type: git
url: https://github.com/colcon/colcon-gradle.git
version: main
After that, run the local_setup
file, build any colcon workspace with Gradle projects in it, and report any issues!