https://loom.svn.sourceforge.net/svnroot/loom/shared/trunk/artifacts.gradle

On Saturday, October 16, 2010, at 10:16 am, Robert Fischer wrote:
> Gretar-
> 
> Mind sharing that plugin?  I was hoping there was something that would
> produce source and doc archives for me.
> 
> ~~ Robert.
> 
> On 15 October 2010 11:19, Gretar Arnason <[email protected]> wrote:
> > I'm using the following in a Plugin extending 'java' plugin for 0.9-rc-1
> > - uploading to a maven repo:
> > 
> > void apply(Project target){
> > ...
> >         target.task(['type': Zip], 'sourceJar') {
> >             baseName = baseName + "-src"
> >             extension = 'jar'
> >             from target.sourceSets.main.java,
> > target.sourceSets.main.resources
> >         }
> > 
> >         target.artifacts {
> >             archives(target.sourceJar) {classifier = 'sources'}
> >         }
> > ...
> > }
> > 
> > 
> > should be translatable to a build.gradle script
> > regards
> > gretar
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email

---
Steve Ebersole <[email protected]>
http://hibernate.org

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

    http://xircles.codehaus.org/manage_email


Reply via email to