fvarrui / JavaPackager

:package: Gradle/Maven plugin to package Java applications as native Windows, MacOS, or Linux executables and create installers for them.
GNU General Public License v3.0
1.07k stars 133 forks source link

Include necessary metadata in gradle plugin POM #327

Closed maths22 closed 1 year ago

maths22 commented 1 year ago

This should fix the publication error when pushing to gradle by adding the relevant metadata to the POM. This will create a plugin marker on Maven central, which should allow plugin configuration through the plugin DSL.

In settings.gradle:

pluginManagement {
    repositories {
        mavenCentral()/mavenLocal()/maven {
            url "https://oss.sonatype.org/content/repositories/snapshots"
        }
        gradlePluginPortal()
    }
}

In build.gradle:

plugins {
    ...
    id 'io.github.fvarrui.javapackager.plugin' version '1.7.3-SNAPSHOT'
}
fvarrui commented 1 year ago

Hi @maths22! I'll give you feedback when releasing 1.7.3. Thanks