Adam Murdoch schrieb:


On 31/03/10 6:25 AM, Rene Groeschke wrote:
Hi there,
just solved my problem :-). After digging into the gradle sources again, I
solved this issue with the following snippet:

----
artifacts{
     archives new DefaultPublishArtifact("test", "dll", "dll", null, new
Date(), file('cfg/test.dll'))
}
----

is there a nicer way to declare a publish artifact?

Not really. When we revisit the dependency DSL after the 0.9 release, we should look at making it easy to publish any arbitrary file.
In my opinion, adding a more natural way to publish arbitrary files via gradle would be a great feature. This would it also make easier for me to publish my shared gradle files to our repository and use them via "apply from".
By then I use the syntax above.

good night,
René

--
------------------------------------
Rene Groeschke

[email protected]
http://www.breskeby.com
http://twitter.com/breskeby
------------------------------------


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

   http://xircles.codehaus.org/manage_email


Reply via email to