I’m having some difficulty using the gradle tooling api with relative paths in set in
A simple example of this:
If I use the tooling API to run a build from a project with the above set, I get an error “Could not fetch model of type ‘GradleProject’ using Gradle distribution”
If I use the gradle wrapper from the root of the project, it works fine.
Another example of using relative paths in
Is there any way I can specify the “current working directory”, or similar, to let gradle run it’s build from the root of the corresponding project, to ensure relative paths work?
Is this limitation of the tooling API well known and is there any documentation that states this limitation of the tooling api?
I’ve found a similar bug report for intellij (which i assume uses the tooling api): https://youtrack.jetbrains.com/issue/IDEABKL-7164
Thanks in advance for any advice on this.