镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Gradle Plugin Portal #490

Open
Open

Description

@maths22

We should publish the JavaPackager gradle plugin to the gradle plugin portal so that users can register the plugin with

plugins {
  id("io.github.javapackager") version "x.y.z"
}

Per https://docs.gradle.org/current/userguide/publishing_gradle_plugins.html it looks like we are more or less already set, we just need to register an account and call the publishPlugins task as part of the publication process (and maybe add/adjust a piece of metadata or two in the existing gradlePlugin config

Activity

  1. fvarrui commented on Oct 5, 2026

    @fvarrui
    Collaborator

    Good news: this already works without publishing to the Portal. plugins.gradle.org/m2 redirects artifacts it doesn't host to Maven Central (HTTP 303), so with 2.0.0-rc1 a project with no pluginManagement at all resolves and applies the plugin with just:

    plugins {
        id 'io.github.javapackager' version '2.0.0-rc1'
    }

    (tested with an empty Gradle user home). It works now that the launch4j Gradle plugin is no longer a dependency in the POM (#444), so nothing has to come from the Portal itself.

    The README still showed the old buildscript / apply plugin setup; it's updated in devel for 2.0.0. Publishing to the Portal would still make the plugin show up in its search, so I'd keep this open as a low-priority enhancement. What do you think?

  2. added a commit that references this issue on Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions