Austin Shalit
f0c821282a
[build] Use artifactory mirror ( #4220 )
2022-05-08 13:59:58 -07:00
Tyler Veness
355a11a414
Update Java linters and fix new PMD errors ( #4157 )
...
PMD requires that variables only initialized in the constructor be
final. The compiler errors if those final variables aren't guaranteed to
be initialized, so extra else branches were added to ensure that.
PMD also requires that classes with only private constructors be final.
The equivalent C++ classes were finalized as well, except for
TimeInterpolatableBuffer because it doesn't expose factory functions.
2022-04-24 07:18:05 -07:00
Tyler Veness
7269a170fb
Upgrade maven deps to latest versions and fix new linter errors ( #3772 )
...
This also makes the Gradle build work with JDK 17.
The extra JVM args in gradle.properties works around a bug with spotless
and JDK 17: https://github.com/diffplug/spotless/issues/834
PMD.CloseResource was ignored because it's almost always a false
positive, and there are many of them.
2021-12-09 12:20:08 -08:00
Tyler Veness
95dd20a151
[build] Enable spotbugs ( #3601 )
...
Benign spotbugs warnings were suppressed, and all others were fixed. Bug
descriptions are documented here:
https://spotbugs.readthedocs.io/en/stable/bugDescriptions.html
Co-authored-by: Austin Shalit <austinshalit@gmail.com >
2021-09-24 16:04:02 -07:00
Thad House
179fde3a7b
[build] Update to 2022 native utils and gradle 7 ( #3588 )
2021-09-19 17:59:14 -07:00
Tyler Veness
3838cc4ec4
Use unicode characters in docs equations ( #3487 )
...
javac and javadoc needed the encoding set to UTF-8.
2021-07-29 22:42:43 -07:00
Thad House
708009cd20
Update to gradle 6.0 ( #2074 )
2019-11-12 17:14:04 -08:00
Thad House
9afea33403
Add support for aarch64 jetson bionic builds ( #1844 )
2019-08-26 09:49:58 -07:00
Thad House
b2861f8948
Use 2020 artifacts and artifactory server ( #1838 )
...
Uses 2020 artifacts and artifactory server, and new versioning and repository plugins.
2019-08-22 21:48:43 -07:00
Austin Shalit
e488861877
Move unit tests from integration test suite ( #1170 )
2019-07-16 00:02:52 -05:00
Austin Shalit
b6d5d90d9d
Add JaCoCo Support ( #1734 )
2019-06-28 20:01:02 -07:00
Thad House
3dfb01d45b
Update to new Native Utils ( #1696 )
...
Also update to azure 2019 windows image
2019-06-28 14:09:10 -07:00
Thad House
322ef9b967
Force Java 11, fix javadoc generation ( #1695 )
2019-05-19 16:59:44 -07:00
Thad House
0d7d880261
Renable full Java 8 Compatibility ( #1493 )
2018-12-21 00:25:23 -08:00
Thad House
a8aacd3657
Update build setup for raspbian and debug binaries ( #1384 )
...
- Build both debug and release binaries
- Append "d" to debug libraries in the style of opencv
- Split shared and static classifiers
- Add raspbian support
2018-10-27 00:19:38 -07:00
Thad House
b9fa3a4398
Update to 2019 RoboRIO and 2019 v4 image ( #1352 )
...
Also make updates for Java 11:
* Disable errorprone plugin (currently broken on Java 11)
* Update checkstyle to 8.12
* Update pmd to 6.7.0
2018-10-07 18:11:57 -07:00
Austin Shalit
44099d9a21
Update errorprone config for Java 10 ( #1265 )
2018-08-10 20:02:41 -07:00
Austin Shalit
cbb62fb98f
Fix errorprone so it is version locked and reports warnings ( #1242 )
2018-07-29 09:32:22 -07:00
Austin Shalit
50b13d2f36
Convert UnitTestUtility to a JUnit 5 MockHardwareExtension ( #1153 )
...
Only initialize the HAL once.
2018-06-24 00:19:45 -07:00
Thad House
064989f2e4
Fix projects having different version numbers ( #1113 )
2018-06-17 19:59:49 -07:00
Austin Shalit
9108a93598
Switch non-integration tests to JUnit 5 ( #1120 )
2018-06-11 15:01:49 -07:00
Austin Shalit
e548a5f705
Update and enable PMD 6.3.0 ( #1107 )
2018-06-03 10:00:53 -07:00
Austin Shalit
39f80730de
Disable broken ntcore tests using JUnit 5 ( #1116 )
2018-05-28 23:07:28 -07:00
Thad House
7f88cf768d
New 2018 and later build setup ( #1001 )
2018-04-29 13:29:07 -07:00