Hello Justin,
please use the gradle forum for this kind of discussions, as the dev list is for discussing development issues only. Nevertheless here's a short answer to your question: The wiring between archiveTask.baseName and project.name is done in the base plugin. to get the wiring working, you need to apply the 'base' plugin. Maybe the userguide is a bit unclear about that detail. thanks for pointing that out.

regards,
René



23. März 2012 00:36
The documentation, http://gradle.org/docs/current/userguide/userguide_single.html#archiveTasksNamingProperties, says that any archive task's baseName will default to project.name, but I don't see this happening. I don't it see it directly on the AbstractArchiveTask nor do I see it being configured via a convention. Can someone point me to where they think it is set project.name? To see an example of this:


Base name will print out as null. And consequently the file will be named ".zip" instead of "${project.name}.zip"


Reply via email to