On 31/03/10 8:44 AM, Rene Groeschke wrote:
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".
This is a good use case for an improved publishing DSL.
--
Adam Murdoch
Gradle Developer
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email