Cool, it works, thanks!

Hans Dockter wrote:
> 
> On Thu, Apr 1, 2010 at 4:08 PM, Shay Banon <[email protected]> wrote:
> 
>>
>> Hi,
>>
>>   I don't seem to find a simple way to do it, so I thought I would ask.
>> What is the simplest way to include the source in the distribution jar
>> file
>> (note, not create a different source zip/jar file, just include the
>> source
>> in the actual distribution jar file)?
>>
> 
> jar {
>    from sourceSets.main.allJava
> }
> 
> - Hans
> 
> --
> Hans Dockter
> Founder, Gradle
> http://www.gradle.org, http://twitter.com/gradleorg
> CEO, Gradle Inc. - Gradle Training, Support, Consulting
> http://www.gradle.biz
> 
> 
> 
>>
>> Cheers,
>> Shay
>> --
>> View this message in context:
>> http://old.nabble.com/Add-source-to-the-distribution-jar-file-tp28107800p28107800.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
>>
>>
>>
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Add-source-to-the-distribution-jar-file-tp28107800p28113030.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