Search code examples
pluginsgradlejcenter

Just upload to Jcenter and can't import to gradle


I used Gradle plugin dev to upload my plugin to jCenter. But now I do not know how to use it in gradle.

It fail finding the classpath. I build it like this:

groupId:artifactId:version

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.fuzz.skeleton:app:1.0.0.RELEASE'
    }
}

My project can be found here.


Solution

  • You have to request that your package be included in JCenter. Specifically, you have not accomplished step 3 of this process. Additionally, you'll want to request inclusion in the Gradle plugins repository so that your plugin will be available on the Gradle plugin portal.