Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-25007

Publish Plugin JAR

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • gradle-jpi-plugin
    • None

      Currently plugins build with the Gradle JPI plugin do not get their JAR artifact deployed to the Maven repository. As a consequence, the API of the plugin can not be used by other plugins because those need the JAR artifact to consume the API.

      Trying to add the JAR archive to the artifacts does not help, because it will change the packaging type to JAR which confuses the update center.

      artifacts {
          archives jar // does not work
      }
      

            daspilker Daniel Spilker
            daspilker Daniel Spilker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: