Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-2597

StartParameter.setGradleUserHomeDir does not take GRADLE_USER_HOME into account

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 2.0-rc-1

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            quidryan Justin Ryan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: