JDK-8091030 : Gradle: Allow javadoc and src tasks to be run without the need for -PBUILD_XXX flags
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: build
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2013-10-09
  • Updated: 2018-09-06
  • Resolved: 2017-02-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdResolved
Related Reports
Duplicate :  
Description
It would be useful to allow "gradle src" or "gradle javadoc" to work without needing the "-PBUILD_JAVADOC=true" or "-DBUILD_SRC_ZIP=true" flag, respectively.

Currently the "sdk" task unconditionally depends on the "javadoc" and "src" tasks. Those tasks are only enabled if the corresponding flag is set. If instead we changed the script such that the "javadoc" and "src" tasks were always enabled, but only added as dependencies of the "sdk" task when the corresponding flag is set, a user would be able to say "gradle javadoc" and it would do the expected thing.

Comments
fixed by JDK-8172237
07-02-2017

Unfortunately we are out of time for 8u40.
13-11-2014

These social media apps... Always reinventing the wheel of peer pressure...
18-06-2014

To answer your question, though, the "like" button is called "Vote" in JIRA.
18-06-2014

I'll pull this into 8u40. :)
18-06-2014

Where's the "like" button?
18-06-2014