You may want to take a look at the org.linkedin.release plugin which
essentially does exactly what you want:

https://github.com/linkedin/gradle-plugins

If you do not want to use the plugin itself you can look at the source code:

https://github.com/linkedin/gradle-plugins/blob/master/buildSrc/src/main/groovy/org/linkedin/gradle/plugins/ReleasePlugin.groovy

The idea is that you need to create tasks for javadoc jar and source jars
and add them to a configuration then use the upload<configuration> task to
do the job.

As far as I know it is not built-in in gradle (for now) :)

Yan
-- 
View this message in context: 
http://gradle.1045684.n5.nabble.com/Collect-source-javadoc-and-binary-dependencies-tp3341032p3341539.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to