Hi Eric,
doesn't somethink like this:
configurations{ javascript }
artifacts{
javascript new DefaultPublishArtifact("test1", "js", "javascript",
null, new Date(), file('build/classes/main/test1.js'))
javascript new DefaultPublishArtifact("test2", "js", "javascript", null,
new Date(), file('build/classes/main/test2.js'))
}
work for your plugin?
At the moment users have to use the same syntax here I think. According
to Adams' reply at
http://www.mail-archive.com/[email protected]/msg03960.html your
plugin and your requirement here is another good argument for an
improved publishing DSL for gradle.
regards,
René
Am 31.08.10 23:35, schrieb Eric Berry:
Hi Rene,
Yes, This looks like it'll work for me. I'll play around with it,
but do you know how I would specify multiple "default" files from
within my plugin? And, how would user's specify multiple files?
[code src="build.gradle"]
new DefaultPublishArtifact("test1", "js", "javascript", null, new
Date(), file('build/classes/main/test1.js')),
new DefaultPublishArtifact("test2", "js", "javascript", null, new
Date(), file('build/classes/main/test2.js'))
[/code]
Thanks for the help.
Eric
On Tue, Aug 31, 2010 at 2:25 PM, Rene Groeschke <[email protected]
<mailto:[email protected]>> wrote:
Hi Eric,
I had similar issues while trying to add DLLs as an artifact to my
build in order to deploy it to a mvn repo. have a look at the
mailinglist thread from march:
http://www.mail-archive.com/[email protected]/msg03957.html
Does this solve your problem?
regards,
René
--
------------------------------------
Rene Groeschke
[email protected] <mailto:[email protected]>
http://www.breskeby.com
http://twitter.com/breskeby
------------------------------------
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
--
Learn from the past. Live in the present. Plan for the future.
Blog: http://www.townsfolkdesigns.com/blogs/elberry
jEdit <http://www.jedit.org> - Programmer's Text Editor
Bazaar <http://bazaar.canonical.com> - Version Control for Humans
--
------------------------------------
Rene Groeschke
[email protected]
http://www.breskeby.com
http://twitter.com/breskeby
------------------------------------