akhikhl / multiproject-git-gradle

Gradle script for multi-project git-based setup, configuration and build
30 stars 12 forks source link

Current path appended to the rootFolder #19

Open java4africa opened 9 years ago

java4africa commented 9 years ago

rootFolder '/tmp/workspace'

The current directory is prepended to the rootFolder, which makes it impossible to use absolute paths. Only relative paths (../../workspace) will work.

I assume line 166 is the problem - but just testing things out so I did not want to try changing anything yet.

def rootFolder = (project.multiproject.rootFolder ? new File(project.projectDir, project.multiproject.rootFolder).canonicalFile : project.projectDir)