HI Paul, and thanks for the speedy reply (no pun intended ;))
> // This requires gradle 0.9...
> artifacts {
> archives sourcesJar
> archives javadocJar
> }
Do you know the equivalent for 0.8?
> I'm not too familiar with maven in this regard. What is missing from the pom
> in this case?
Not sure, hopefully nothing - I haven't yet managed to get it to produce the
source JAR.
>> - for publishing multiple artifacts (i.e. for the JAR and WAR file from the
>> WAR projects) I need to define a filter - has anyone got a simple example of
>> this?
>
> I'm not sure what exactly you mean here. Can you give an example?
Yep, sure. I want my war project to produce a .war file, but also a .jar file
with all the server side code (domain, services etc.). According to
http://gradle.org/0.8/docs/userguide/userguide_single.html#war_plugin I simply
need 'jar.enabled=true'. However, my question regards Example 29.7
(http://gradle.org/0.8/docs/userguide/userguide_single.html#uploading_to_maven_repositories)
which states I need to add a number of filters for each artefact I want
uploaded.
Maybe I have missed the point, but how (other than using maven) do you define
inter-project dependencies when they are not a multi-project build?
One other thing - how do people 'get into' gradle? I have read the manual a
number of times and googled but I just can't seem to connect the dots....
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email