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.

regards,
René

Am Di, 30.03.2010, 12:42, schrieb Rene Groeschke:
Hi there,
I have built a DLL Library via ant dotnet task. now I want to publish this
  DLL to my artifactory repository. I think the artifacts closure as
described in the userguide is the right point to start from:

artifacts { archives myDLL }


but how can I tell gradle where myDLL is located, which version, which
group it has.

regards, René



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


http://xircles.codehaus.org/manage_email





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

     http://xircles.codehaus.org/manage_email



--
Adam Murdoch
Gradle Developer
http://www.gradle.org


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

   http://xircles.codehaus.org/manage_email


Reply via email to