[GRADLE-3278] Applying distribution plugin should add assembleDist task instead of assembleMainDist for main distribution Created: 13/Apr/15  Updated: 13/Apr/15  Resolved: 13/Apr/15

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 2.5-rc-1

Type: Bug
Reporter: René Gröschke (Inactive) Assignee: René Gröschke (Inactive)
Resolution: Fixed Votes: 0


 Description   

from the userforum at: http://discuss.gradle.org/t/error-in-user-guide/8826

Chapter 44 of the user guide describes the Distribution plugin. It says this plugin adds the following tasks:

distZip
distTar
assembleDist
installDist
and that none of these tasks has dependencies on each other.

What I see, instead, is that the assembleDist task does not exist, while there is assembleMainDist. The latter task, also, depends on distZip and distTar (as I would expect...).

So: it seems like the "main" distribution is considered an "extra" distribution from the assembleDist task point of view. However, another inconsistency is that the documentation says that for each extra distribution, three tasks are added: ${distribution.name}DistZip, ${distribution.name}DistTar and install${distribution.name.capitalize()}Dist, but not assemble${distribution.name.capitalize()}Dist.



 Comments   
Comment by Mauro Molinari [ 13/Apr/15 ]

Thank you René!

Generated at Wed Jun 30 12:44:38 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.