Plugin Portal problem?


(Seto) #1

https://plugins.gradle.org/plugin/com.google.protobuf

This is reported when i use the code below.

plugins {
  id "com.google.protobuf" version "0.8.3"
}

And from the webpage above. It says “gradle.plugin.com.google.protobuf:protobuf-gradle-plugin:0.8.3”.
But the file is actually located here “https://plugins.gradle.org/m2/com/google/protobuf/protobuf-gradle-plugin/0.8.3/protobuf-gradle-plugin-0.8.3.jar”.
“gradle.plugin” is added to the dependencies classpath. And the folder “gradle/plugin/” added to the url. And it can’t be resolved. It’s working for 0.8.2.

Error:Could not find gradle.plugin.com.google.protobuf:protobuf-gradle-plugin:0.8.3.
Searched in the following locations:
file:/E:/Software/Google/Android/Studio/android-studio/gradle/m2repository/gradle/plugin/com/google/protobuf/protobuf-gradle-plugin/0.8.3/protobuf-gradle-plugin-0.8.3.pom
file:/E:/Software/Google/Android/Studio/android-studio/gradle/m2repository/gradle/plugin/com/google/protobuf/protobuf-gradle-plugin/0.8.3/protobuf-gradle-plugin-0.8.3.jar
https://maven.google.com/gradle/plugin/com/google/protobuf/protobuf-gradle-plugin/0.8.3/protobuf-gradle-plugin-0.8.3.pom
https://maven.google.com/gradle/plugin/com/google/protobuf/protobuf-gradle-plugin/0.8.3/protobuf-gradle-plugin-0.8.3.jar
https://jitpack.io/gradle/plugin/com/google/protobuf/protobuf-gradle-plugin/0.8.3/protobuf-gradle-plugin-0.8.3.pom
https://jitpack.io/gradle/plugin/com/google/protobuf/protobuf-gradle-plugin/0.8.3/protobuf-gradle-plugin-0.8.3.jar
https://jcenter.bintray.com/gradle/plugin/com/google/protobuf/protobuf-gradle-plugin/0.8.3/protobuf-gradle-plugin-0.8.3.pom
https://jcenter.bintray.com/gradle/plugin/com/google/protobuf/protobuf-gradle-plugin/0.8.3/protobuf-gradle-plugin-0.8.3.jar
https://plugins.gradle.org/m2/gradle/plugin/com/google/protobuf/protobuf-gradle-plugin/0.8.3/protobuf-gradle-plugin-0.8.3.pom
https://plugins.gradle.org/m2/gradle/plugin/com/google/protobuf/protobuf-gradle-plugin/0.8.3/protobuf-gradle-plugin-0.8.3.jar
Required by:
project :


Gradle-avro-plugin 0.9.1 missing artifacts
(Tim Yates) #2

Hiya!

I’ve checked, and you’re right we seem to be missing all the artifacts for that version of the plugin…

Had a look at the source of the plugin, and it’s a problem with an old buggy version of the publish-plugin that would sometimes silently not publish the artifacts to the repo :frowning2:

I’ve added a possible resolution to the issue on the plugin project over here:

Fingers crossed we can work together to get a new release done with the newer fixed publish plugin

Thanks for bringing this to our attention, and sorry about the hassle it’s caused

Tim