Skip to content

Conversation

@maths22
Copy link
Contributor

@maths22 maths22 commented May 17, 2023

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'
}

@maths22 maths22 mentioned this pull request May 17, 2023
@fvarrui fvarrui merged commit 587c637 into javapackager:devel May 22, 2023
@fvarrui
Copy link
Collaborator

fvarrui commented May 22, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants