[build] Gradle Cleanup (#1021)

Cleanup project-wide gradle configuration.

    removes native dependencies from java only projects
    increases readability
    Pass generated headers in setup instead of modifying model
This commit is contained in:
Sriman Achanta
2023-11-22 20:08:23 -05:00
committed by GitHub
parent 5d93515429
commit 773c6352d0
14 changed files with 95 additions and 295 deletions

View File

@@ -9,11 +9,12 @@ nativeUtils.withCrossLinuxArm64()
// Configure WPI dependencies.
nativeUtils.wpi.configureDependencies {
wpiVersion = wpilibVersion
wpimathVersion = wpimathVersion
opencvYear = 'frc2024'
opencvVersion = openCVversion
googleTestYear = "frc2023"
googleTestYear = "frc2024"
googleTestVersion = "1.14.0-1"
niLibVersion = "2024.1.1"
googleTestVersion = "1.12.1-2"
}
// Configure warnings and errors