GeezerVison is showing github.com — Publish Processing Gradle plugins by Stefterv · Pull Request #1405 · processing/processing4
Conversation
Stefterv
commented
Feb 3, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Add a publish-gradle job to the release workflow to publish Processing libraries to the Gradle Plugin Portal.
This way future processing libraries can be created by adding
plugins{
id("org.processing.library") version "4.5.3"
}
processing {
library {
version = 1
prettyVersion = "1.0.0"
authors = mapOf(
"The Processing Foundation" to "https://processing.org"
)
url = "https://processing.org/"
categories = listOf("file", "exporter", "dxf")
sentence = "DXF export library for Processing"
paragraph =
"This library allows you to export your Processing drawings as DXF files, which can be opened in CAD applications."
}
}
To any standard Java/Kotlin gradle project, this will then handle packaging the library. We can add more functionality to it over time and the only thing library authors will need to do is update the plugin version.
TODO:
- Create Gradle Portal Account (account created with the processing-bot)
- Set repository secrets (GRADLE_PUBLISH_KEY, GRADLE_PUBLISH_SECRET)
After merge:
- Update the processing gradle library template
Related:
#1347
#1233
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approved! i'll look out for follow up to update gradle library template. does anything have to happen with #1233 (which is merged now)?
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
I will update this one to also support #1233
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Add a publish-gradle job to the release workflow to publish Processing libraries to the Gradle Plugin Portal using gradle publish with required secrets and version/group env vars. Update gradle/plugins/library/build.gradle.kts to use the com.gradle.plugin-publish plugin, provide plugin metadata (website, vcsUrl, displayName, description, tags) and make the plugin id dynamic ("$group.library"). These changes enable automated publishing of the Gradle plugin with the metadata required by the portal.
Expose the project's group to test JVMs by configuring tasks.withType<Test>() to set systemProperty("project.group", group ?: "org.processing"). Update ProcessingPluginTest to read the plugin id from System.getProperty("project.group") instead of hardcoding the group. Also close the publishing block in build.gradle.kts. This allows tests to adapt when the project group is overridden.
|
I added the Processing Gradle Plugin publishing
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
SableRaf
Awaiting requested review from SableRaf
catilac
Awaiting requested review from catilac
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|