GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Publish Processing Gradle plugins by Stefterv · Pull Request #1405 · processing/processing4

Conversation

@Stefterv

@Stefterv Stefterv commented Feb 3, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

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.

All reactions
@Stefterv
Stefterv requested review from SableRaf and catilac February 3, 2026 19:08
@Stefterv
Stefterv force-pushed the gradle-publishing branch from 4fbf4c7 to cbf9034 Compare February 6, 2026 08:24
catilac
catilac approved these changes Feb 6, 2026
View reviewed changes

@catilac catilac left a comment

Copy link
Copy Markdown
Collaborator

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.

All reactions
@Stefterv

Stefterv commented Feb 6, 2026

Copy link
Copy Markdown
Member Author

I will update this one to also support #1233

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Stefterv
Stefterv force-pushed the gradle-publishing branch from f7051d1 to 58412ca Compare February 7, 2026 12:23
Stefterv added 2 commits February 7, 2026 13:26
@Stefterv
Publish Processing Gradle plugin
f46bd75
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.
@Stefterv
Publish plugins in release workflow
0cf146a
@Stefterv
Stefterv force-pushed the gradle-publishing branch from 58412ca to 0cf146a Compare February 7, 2026 12:26
@Stefterv
Update build.gradle.kts
cc780cf
@Stefterv
Stefterv force-pushed the gradle-publishing branch from 8467f4e to cc780cf Compare February 7, 2026 12:34
Stefterv added 2 commits February 7, 2026 13:41
@Stefterv
Set project.group system property for tests
8b0cdaf
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.
@Stefterv
Update build.gradle.kts
5fb43b6
@Stefterv
Stefterv requested a review from catilac February 7, 2026 13:01
@Stefterv

Stefterv commented Feb 7, 2026

Copy link
Copy Markdown
Member Author

I added the Processing Gradle Plugin publishing

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Stefterv
Merge branch 'main' into gradle-publishing
a801699
@catilac
catilac merged commit 4f2644a into processing:main Feb 17, 2026
6 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@Stefterv
Stefterv deleted the gradle-publishing branch February 17, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@SableRaf SableRaf Awaiting requested review from SableRaf
@catilac catilac Awaiting requested review from catilac

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

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.

2 participants

@Stefterv @catilac
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.