How would I know that baseName is what I was looking for? I have read that UserGuide from top to bottom and no where in it did I find documentation for which attributes are available for a task of type: Jar.
Care to give me a more specific chapter, section that it is in? LightGuard wrote: > > http://www.gradle.org/userguide.html > > baseName is the attribute you're looking for. > > On Thu, May 6, 2010 at 13:30, mjparme <[email protected]> wrote: > >> >> I am trying to create a jar file for the JavaDoc of my project. I am >> using >> the java plugin and that produces the javadoc but not a jar of those java >> docs. >> >> So I am trying something like this: >> >> task packageJavadoc(type: Jar, dependsOn: 'javadoc') { >> fileSet(dir: 'build/docs/javadoc') >> } >> >> This actually runs successfully but doesn't actually produce a Jar file >> (if >> it is producing one I can't find it). So surely there is a way for me to >> specify the name of the Jar file and a path to write it in? >> >> So my question is really how can I find out which options are available >> for >> a task of type Jar? >> >> With Gradle there doesn't seem to be any reference you go to like the >> core >> Ant task reference. For that matter how do I know what task types are >> available for the "type:" parameter? Where is that documentation? >> -- >> View this message in context: >> http://old.nabble.com/What-options-are-available-for-a-Jar-task--tp28478492p28478492.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 >> >> >> > > > -- > Jason Porter > > Software Engineer > Open Source Advocate > > PGP key id: 926CCFF5 > PGP key available at: keyserver.net, pgp.mit.edu > > -- View this message in context: http://old.nabble.com/What-options-are-available-for-a-Jar-task--tp28478492p28478662.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
