Skip to content

Clean up build#1926

Merged
mcm001 merged 2 commits intoPhotonVision:mainfrom
Gold856:clean-up-gradle-files
Apr 20, 2025
Merged

Clean up build#1926
mcm001 merged 2 commits intoPhotonVision:mainfrom
Gold856:clean-up-gradle-files

Conversation

@Gold856
Copy link
Member

@Gold856 Gold856 commented Apr 20, 2025

Description

I noticed that some of our Gradle files had some unnecessary code, so I decided to do some housekeeping and remove them.
There's a bunch of version checks in the Javadoc task that simply isn't necessary anymore because we've moved to Java 17. Java 17 also allows us to change Xwerror argument into Werror. Next, there was another generateJavaDocs task that was in a Gradle file included by photon-core and photon-server. We no longer generate Javadoc for either, nor do we want to, so it's been removed. There was also a createAllCombined task that created an artifact with an -all classifier. It is unused, so it has been removed.

Finally, the jogamp dependency has been removed, as it is no longer needed after GPUAcceleratedHSVPipe was removed in #1830.

Meta

Merge checklist:

  • Pull Request title is short, imperative summary of proposed changes
  • The description documents the what and why
  • If this PR changes behavior or adds a feature, user documentation is updated
  • If this PR touches photon-serde, all messages have been regenerated and hashes have not changed unexpectedly
  • If this PR touches configuration, this is backwards compatible with settings back to v2024.3.1
  • If this PR touches pipeline settings or anything related to data exchange, the frontend typing is updated
  • If this PR addresses a bug, a regression test for it is added

@Gold856 Gold856 requested a review from a team as a code owner April 20, 2025 07:27
@Gold856 Gold856 changed the title Clean up Gradle files Clean up build Apr 20, 2025
@mcm001 mcm001 merged commit 7bbfe6f into PhotonVision:main Apr 20, 2025
39 checks passed
@Gold856 Gold856 deleted the clean-up-gradle-files branch April 21, 2025 02:14
samfreund pushed a commit to samfreund/photonvision that referenced this pull request Jun 28, 2025
Gold856 pushed a commit that referenced this pull request Jan 5, 2026
## Description

By hitting WPIlib's Artifactory Maven Central mirror instead of Maven
Central, we should reduce the number of 403 flakes we see during
workflow runs. This also removes jogamp from the repository list, as
jogamp dependencies were removed in #1926.

## Meta

Merge checklist:
- [x] Pull Request title is [short, imperative
summary](https://cbea.ms/git-commit/) of proposed changes
- [x] The description documents the _what_ and _why_
- [ ] If this PR changes behavior or adds a feature, user documentation
is updated
- [ ] If this PR touches photon-serde, all messages have been
regenerated and hashes have not changed unexpectedly
- [ ] If this PR touches configuration, this is backwards compatible
with settings back to v2025.3.2
- [ ] If this PR touches pipeline settings or anything related to data
exchange, the frontend typing is updated
- [ ] If this PR addresses a bug, a regression test for it is added

---------

Co-authored-by: samfreund <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants