gradle-plugins icon indicating copy to clipboard operation
gradle-plugins copied to clipboard

Plugin not available via JCenter?

Open thokuest opened this issue 7 years ago • 1 comments

I've modified my build.gradle to include the plugin declaration:

buildscript {
  repositories {
    jcenter()
  }

  dependencies {
    classpath "at.comm_unity.gradle.plugins:jpamodelgen-plugin:1.1.4"
  }
}

But unfortunately the plugin is not found on jcenter(). According to Bintray the latest available version is 1.1.2.

Even if I try with 1.1.2 Gradle fails to resolve the dependency:

FAILURE: Build failed with an exception.

* What went wrong:
> Could not resolve all dependencies for configuration ':classpath'.
   > Could not find at.comm_unity.gradle.plugins:jpamodelgen-plugin:1.1.2.
     Searched in the following locations:
         https://jcenter.bintray.com/at/comm_unity/gradle/plugins/jpamodelgen-plugin/1.1.2/jpamodelgen-plugin-1.1.2.pom
         https://jcenter.bintray.com/at/comm_unity/gradle/plugins/jpamodelgen-plugin/1.1.2/jpamodelgen-plugin-1.1.2.jar

Indeed, JCenter returns

{
  "errors" : [ {
    "status" : 404,
    "message" : "Could not find resource"
  } ]
}

Is it possible that the plugin is not available via JCenter?

thokuest avatar Sep 11 '17 20:09 thokuest

jcenter repository war deprecated for this plugin after plugin version 1.1.2. The version 1.1.2 is still present at jcenter and should be available.

Further versions other the plugin are only available at gradle plugins repository.

iboyko avatar Sep 13 '17 07:09 iboyko