Buck: Adjust javadoc invocation for upstream Buck version
ca48f0fff22f7fbcb856fd2faa6e15e7de900775 version of Buck changed the current
directory for command invocation. Previously it was always project root
directory. After upgrade it is relative directory to the active rule.
This particularly breaks javadoc rule execution, which assumed that the
current directory was project root. Fix it by changing to the parent
directory untill the project root by checking for existience of .buckconfig
file.
Change-Id: Ia5530b892b67412dc8e942a1d0b0ec4da42df493
1 file changed