GeezerVison is showing github.com — `processing/java/gradle` Rework libraries import · Issue #1412 · processing/processing4
processing/java/gradle Rework libraries import #1412
Description
Related #1233
The current Processing Gradle plugin imports Processing libraries successfully, but only if the processing.sketchfolder is defined and Gradle 8 is used.
The plugin will supposedly stop working with Gradle 9 as support for adding dependencies after evaluation has been deprecated. (Mutating a configuration after it has been resolved, consumed as a variant, or used for generating published metadata. This behavior has been deprecated.).
Furthermore, because the dependencies of the project are defined within the .pde files we get a catch 22, either we parse the .pde files on plugin evaluation (which is not where that is supposed to be happening and breaks only running on changes) or we move the dependency declaration out of the .pde files. Neither is ideal, so more research is needed.
As for the sketchbook, it would be ideal if the plugin could find the sketchbook location on its own, but that would require finishing the refactoring work of the settingsFolder path and the sketchbookFolder into app:utils as those variables are currently locked behind running the PDE in its entirety.
Activity
Satish11012007 commented on Feb 5, 2026
Hi @Stefterv 👋
I’d like to work on this issue if it’s available.
I’m particularly interested in investigating:
- Gradle 9 compatibility and the deprecation of mutating configurations after evaluation
- Possible approaches for handling dependencies currently defined in
.pde files without breaking incremental builds
- Options around sketchbook discovery and the ongoing refactor into
app:utils
If this sounds reasonable, could you please assign the issue to me?
Happy to share findings or a proposal before implementing anything.
Thanks!
Stefterv commented on Feb 5, 2026
Hi @Satish11012007 Sorry this is not open to contribute, please look for issues with the help wanted label
Stefterv commented on Feb 9, 2026
Metadata
Metadata
Development
No branches or pull requestsIssue actions