On 7/07/10 7:22 PM, Russel Winder wrote:
Adam,

On Sun, 2010-07-04 at 10:09 +1000, Adam Murdoch wrote:
[ . . . ]
You can only add archive tasks to a configuration. Otherwise, you have
to add the artifact manually. There's some detail in this thread:
http://markmail.org/thread/niseybxbjynckr2c
It seems there is no API documentation for the DefaultPublishArtifact
class even though there is for the PublishArtifact interface.  Or have I
just missed it?

DefaultPublishArtifact is considered an internal class, and so it's not included in the API docs. But then, given that the only way to add custom artifacts is to use this class, it's not really an internal class after all. Perhaps we should include it in the API. Or fix the original problem, which is probably a better option.

We will make this easier to do when we revise the publishing DSL after
the 0.9 release.
Good plan !  :-)



--
Adam Murdoch
Gradle Developer
http://www.gradle.org
CTO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz


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

   http://xircles.codehaus.org/manage_email


Reply via email to