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

Changing rootProject projectDir from settings.gradle does not work

    XMLWordPrintable

    Details

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

      Description

      The User Guide says that you can change the location of the root project from settings.gradle.
      But I cannot get this working properly.
      If I change ```rootProject.projectDir``` or ```project(':').projectDir``` in settings.gradle it seems to have no effect.
      Furthermore, if I add subprojects, they are not not found if I tried to change ```rootProject.projectDir``` or ```project(':').projectDir``` in settings.gradle.

        Attachments

          Activity

            People

            Assignee:
            ldaley Luke Daley
            Reporter:
            forums Gradle Forums
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: