-
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 jib-gradle plugin on jcenter/mavenCentral #1004
Comments
Hi @danielpetisme, thanks for reporting this issue. Would adding the Gradle Plugin repo as a Maven repository work for your case? repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
} |
hum... Looks live Do you have any clue? |
Hmm, this might just be because using the Gradle plugin as a source code dependency is not a supported use case. We are currently actively working on building out Jib Core as a library, so once that is ready, we will publish it to Maven Central and you can use it as a library for the |
Hi @danielpetisme , we have released an initial alpha version of Jib Core. Let us know if it suits your use case. |
Description of the issue:
I'm trying to integrate jib into the vertx-gradle-plugin and when gradle tries to resolve
jib-gradle-plugin
as a dependency (not as a plugin) it fails to find the component in jcenter/mavenCentral (the common repos used for java dependencies).The plugin seems only hosted on gradlePluginPortal().
I'm currently trying a workaround to programatically add the
gradlePluginPortal()
to the user build in order to properly resolve but it IMHO it looks bad.Expected behavior:
The
jib-gradle-plugin
should be available in the common repos (BTW, thejib-maven-plugin
is already present in jcenter() - https://bintray.com/bintray/jcenter/com.google.cloud.tools%3Ajib-maven-plugin)Steps to reproduce:
Create a Gradle project and add
jib-gradle-plugin
as a dependencyjib-gradle-plugin
Configuration:Log output:
Additional Information:
The text was updated successfully, but these errors were encountered: