Building and Deploying Multiple Projects using Gradle

Hello All,

Our code is spread across multiple projects, and we would like to deploy them simultaneously using GradleRio. If anyone has done this before please help :ahh: !
Thank you!

We finally learned enough Gradle to figure it out today. We ended up going with a composite build. For future reference:

We started by initializing a new gradle java library and then adding group and version settings to build.gradle, in our case:


group = 'org.team5940.pantry'
version = '0.0.0'

For the robot code that gets deployed, we started with the GradleRIO quickstart and then added


compile "org.team5940.pantry:Pantry-Logging:0.0.0"

within dependencies{} to build.gradle and created a settings.gradle file with


includeBuild '../Pantry-Logging/'

Overall pretty easy!