[GRADLE-665] Gradle install task doesn't install the documentation Created: 29/Sep/09  Updated: 04/Jan/13  Resolved: 05/Oct/09

Status: Resolved
Project: Gradle
Affects Version/s: 0.8
Fix Version/s: None

Type: Bug
Reporter: Russel Winder Assignee: Hans Dockter
Resolution: Won't Fix Votes: 0

Issue Links:
Duplicated by GRADLE-675 gradle install fails to install the d... Resolved


Using the "gradlew install" command in the Gradle project installs for execution but fails to install the documentation.

Comment by Hans Dockter [ 05/Oct/09 ]

It is intentionally that the gradle install task does not install the documentation. We use the gradle-bin distribution as the distribution to be installed. The execution is much faster as building the docs takes quite a bit of time. The install task was written for the gradle developers and we want to provide a debug cycle which is as short as possible.

The new gradle init script features we have provided with 0.8 would allow you to customize the Gradle build specifically for your needs. You could for example use it to add an install task that takes gradle-all as the base.

Comment by Russel Winder [ 15/Oct/09 ]

All that is really needed is a doc:install task in the gradle-doc subproject that is not depended on by the build of the Gradle executable.

I remain of the view that this can be added as standard without affecting the build for the developers. I agree it takes a long time and should not be part of the base development cycle. Having an independent extra task doesn't hurt and it solves the problem.

I haven't reopened this issue but I think I would like to.

Generated at Wed Jun 30 11:35:42 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.