Update to latest gradle master#15279
Merged
Merged
Conversation
Contributor
Review Summary by QodoUpdate Gradle wrapper to latest jabref-2 distribution
WalkthroughsDescription• Update Gradle wrapper to latest jabref-2 distribution • Maintains compatibility with Windows builds Diagramflowchart LR
A["gradle-9.5.0-jabref-1"] -- "update to" --> B["gradle-9.5.0-jabref-2"]
B -- "enables" --> C["Latest Gradle features"]
File Changes1. gradle/wrapper/gradle-wrapper.properties
|
Contributor
Code Review by Qodo
1. Unpinned wrapper distribution
|
jabref-machine
approved these changes
Mar 6, 2026
jabref-machine
approved these changes
Mar 6, 2026
Comment on lines
+3
to
5
| distributionUrl=https://files.jabref.org/gradle-9.5.0-jabref-2-bin.zip | ||
| networkTimeout=10000 | ||
| validateDistributionUrl=false |
Contributor
There was a problem hiding this comment.
1. Unpinned wrapper distribution 🐞 Bug ⛨ Security
The wrapper now downloads a new custom Gradle distribution (jabref-2) while URL validation is disabled and no checksum is pinned, so a modified/compromised zip could be executed during CI/developer builds without detection. This is a build-time supply-chain risk (potentially leading to arbitrary code execution in the build environment).
Agent Prompt
### Issue description
The Gradle wrapper downloads a custom Gradle distribution zip but does not pin a checksum and explicitly disables URL validation. This allows an altered distribution to be used without detection.
### Issue Context
The PR changed the `distributionUrl` to a new artifact (`jabref-2`). This is the right moment to also ensure integrity checks are in place for that new binary.
### Fix Focus Areas
- gradle/wrapper/gradle-wrapper.properties[1-7]
### Suggested changes
1. Add `distributionSha256Sum=<sha256-of-gradle-9.5.0-jabref-2-bin.zip>` to `gradle-wrapper.properties`.
2. Consider setting `validateDistributionUrl=true` if the custom distribution URL can pass Gradle’s validation rules; if not, document why it must remain `false` and rely on the pinned SHA-256 as the primary integrity control.
3. (Optional but recommended) Add a short note in contributing/build docs describing how the checksum is generated/verified when updating the wrapper distribution.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
✅ All tests passed ✅🏷️ Commit: 6846f59 Learn more about TestLens at testlens.app. |
Siedlerchr
added a commit
to statxc/jabref
that referenced
this pull request
Mar 10, 2026
* upstream/main: (59 commits) Fix 15000 identifier (JabRef#15286) Chore(deps): Bump dev.langchain4j:langchain4j-bom in /versions (JabRef#15305) Supress JavaFX VirtualFlow Info log noise for large libraries (10k+). (JabRef#15298) Chore(deps): Bump commons-logging:commons-logging in /versions (JabRef#15304) Fix merge dialog closing immediately when only one PDF importer returns metadata (JabRef#15127) (JabRef#15287) Fixed nullable eventhandlers (JabRef#15288) New Crowdin updates (JabRef#15285) Fix the ESC key for GlobalSearchResultDialog (JabRef#15259) Remove jbang plugin banner (JabRef#15282) Chore(deps): Bump org.apache.httpcomponents.core5:httpcore5 in /versions (JabRef#15281) Udpate to latest gradle master (JabRef#15279) Migrate to GemsFX Notifications (JabRef#14762) Chore(deps): Bump JetBrains/junie-github-action from 0 to 1 (JabRef#15272) Chore(deps): Bump docker/setup-qemu-action from 3 to 4 (JabRef#15269) Feature/citation count dropdown (JabRef#15216) Update dependency org.apache.maven.plugins:maven-resources-plugin to v3.5.0 (JabRef#15275) Chore(deps): Bump jablib/src/main/resources/csl-styles (JabRef#15273) Fix more security Fix pr_body leakage Chore: add dependency-management.md (JabRef#15278) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
build-logic/build./gradlew --stoprm -rf build-logic/build./gradlew :jabgui:runRelated issues and pull requests
Updates to latest gradle/gradle#34227
Steps to test
Checklist
CHANGELOG.mdin a way that can be understood by the average user (if change is visible to the user)