[GRADLE-2597] StartParameter.setGradleUserHomeDir does not take GRADLE_USER_HOME into account Created: 12/Dec/12  Updated: 20/Apr/14  Resolved: 20/Apr/14

Status: Resolved
Project: Gradle
Affects Version/s: 1.3
Fix Version/s: 2.0-rc-1

Type: Bug
Reporter: Justin Ryan Assignee: Unassigned
Resolution: Fixed Votes: 0


The method claims to use set to a default value if null is passed, but it's logic is just use DEFAULT_GRADLE_USER_HOME, while the StartParameter constructor has more advanced logic to set a default value (using the GRADLE_USER_HOME environment variable and the gradle.user.home property). The two are inconsistent. The code in the constructor should be moved out to a method to be used by the constructor and the setGradleUserHomeDir method.

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