| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
I will update this one to also support #1233 |
Sorry, something went wrong.
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.
| Back | FazBrowse Home | New Git URL |
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:
After merge:
Related:
#1347
#1233