-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 gradle plugin to maven central #3719
Comments
The gradle plugin is published to the gradle repository here: https://plugins.gradle.org/plugin/com.google.cloud.tools.jib |
I don't think that is enough. I need to be able to reference it as a dependency, as in the link above. |
in the example from my link:
This plugin is published to maven central with those coordinates. Similarly, jib would need to be published to maven central as the maven plugin is today. https://search.maven.org/artifact/com.google.cloud.tools/jib-maven-plugin/3.2.1/maven-plugin |
Particularly for Gradle, it doesn't matter where an artifact is published. If it's on Maven Central, you would declare So you should have no problem accessing it. The Maven coordinates are However, I wonder why you want the Jib Gradle plugin, as it is not intended to be consumed as a library but as a plugin. Could Jib Core library be the right choice? |
OK, so the piece that makes it work is declaring |
For some unknown reason, the coordinates with the prefix |
The coordinate change was the result of updating the gradle publish plugin #3701 |
Environment:
Description of the issue:
I would like to use precompiled script plugins with jib as documented here: https://docs.gradle.org/current/userguide/custom_plugins.html#applying_external_plugins_in_precompiled_script_plugins
The problem is there is no way for me to declare the dependency to the jib gradle plugin as it isn't published (the maven plugin is though).
Expected behavior:
The plugin is published as an artifact to maven central
Steps to reproduce:
See above link
The text was updated successfully, but these errors were encountered: