How to generate Javadoc for Maven Central?

I am trying to sync my package from bintray with Maven Central, but get this error :

What do I need to do to generate the Javadoc?

I use the Gradle:

dependencies {
        classpath ''
        classpath 'com.novoda:bintray-release:0.3.4'


In Maven:

According to the docs, you should add the javadoc plugin:


And then run mvn site.

In Gradle:

According to the docs, you should add a task of type Javadoc and then add the output of this task to a configuration or a publication:

apply plugin: 'java'

task myJavadocs(type: Javadoc) {
  source = sourceSets.main.allJava

You can find complete examples of Gradle projects that publish to Bintray's JCenter at Bintray's examples project on GitHub.

Need Your Help

Core data images from desktop to iphone

iphone core-data imageview nsmanagedobject

I built a simple mac data entry tool I use with an iPhone application. I've recently added thumbnail which I added via an Image Well using simple bindings. Its a transformable data type which seems...

CRUD with Access Database using ASP.NET

How can I use Microsoft Access as a database in ASP.NET website? Is it possible?