Hi, I am having trouble using a plugin published to the Gradle Plugin Portal. Specifically, the plugin is published at https://plugins.gradle.org/plugin/com.google.cloud.tools.jib.
I published the plugin by adding id 'com.gradle.plugin-publish' version '0.9.10'
to the plugins
of the build.gradle
and running ./gradlew publishPlugins
:
> Task :publishPlugins
Publishing plugin com.google.cloud.tools.jib version 0.1.0
Publishing artifact build/libs/jib-gradle-plugin-0.1.0.jar
Publishing artifact build/libs/jib-gradle-plugin-0.1.0-sources.jar
Publishing artifact build/libs/jib-gradle-plugin-0.1.0-javadoc.jar
Activating plugin com.google.cloud.tools.jib version 0.1.0
The plugin shows up on the Gradle Plugin Portal (https://plugins.gradle.org/plugin/com.google.cloud.tools.jib), but when I try to use the plugin in another project by adding id 'com.google.cloud.tools.jib' version '0.1.0'
to the plugins
of the build.gradle
, Gradle fails to configure with:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'data'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not find jib-gradle-plugin.jar (gradle.plugin.com.google.cloud.tools:jib-gradle-plugin:0.1.0).
Searched in the following locations:
https://plugins.gradle.org/m2/gradle/plugin/com/google/cloud/tools/jib-gradle-plugin/0.1.0/jib-gradle-plugin-0.1.0.jar
It looks like https://repo.jfrog.org/artifactory/libs-release-bintray/gradle/plugin/com/google/cloud/tools/jib-gradle-plugin/0.1.0/
is empty.
Thanks for your help.