Managing Dependencies
Project Dependencies
gradle.properties contains all dependency versions. Versions should be kept up to date and are usually found on the project repository page. For example, the latest Kotlin Coroutines is found in the README of the kotlinx.coroutines repository
Units of Measure
Due to long compile times, the uoms module is precompiled and the JAR files are included in the repository. After updating units of measure version OR uoms/units-of-measure.gradle (uom config file), the module has to be recompiled.
- Run
./gradlew :uoms:buildto compile (will take ~1 hr) - Copy
uoms/build/*.jartouoms/libs
FRC Libraries
FRC vendor libraries are managed by GradleRIO, not Gradle. Vendor library versions are in both architecture/vendordeps and {current year module}/vendordeps. Use scripts in vendordeps/readme.txt to get latest versions and add to the readme file if you add a new vendor dependency.
Third-Party Files
architecture/src/jvmfrcMain/java contains a few third party Java files. Check architecture/src/jvmfrcMain/java/readme.txt for instructions on how to update and add to the readme if you add a new file.