Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish to JCenter #12

Closed
daspilker opened this issue Nov 7, 2016 · 1 comment
Closed

Publish to JCenter #12

daspilker opened this issue Nov 7, 2016 · 1 comment

Comments

@daspilker
Copy link

The Gradle JPI plugin depends on localizer. Gradle plugins published through the Gradle Plugin Portal must should/must have their dependencies available on JCenter. The latest version on JCenter is 1.19, but I need 1.20 or later to get the JavaDoc fixes for Java 8.

Using dependencies outside of JCenter forces a verbose Gradle build file syntax:

buildscript {
    repositories {
        jcenter()
        maven {
            url('https://repo.jenkins-ci.org/releases/')
        }
    }
    dependencies {
        classpath 'org.jenkins-ci.tools:gradle-jpi-plugin:0.18.1'
    }
}

apply plugin: 'org.jenkins-ci.jpi'

instead of just

plugins {
    id 'org.jenkins-ci.jpi' version '0.18.1'
}

In order to publish to JCenter, the artifacts must be upload to Bintray from where they can be promoted to JCenter, see https://bintray.com/docs/usermanual/uploads/uploads_promotingyourmaterial.html.

@kohsuke
Copy link
Owner

kohsuke commented Dec 6, 2016

Started working on issue #7 which achieves the same goal

@kohsuke kohsuke closed this as completed Dec 6, 2016
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

No branches or pull requests

2 participants