I'm totally stuck here. I am writing a java class that is supposed to manipulate gradle builds.
I've managed to instantiate gradle tooling API (Connector, GradleProject), but neither of these would let me get the plain simple list of all the tasks available for BuildLauncher (hint: some of the tasks might be in plugins). However, I've managed to run ":tasks" task, and then parse its output, but it sounds terrible.
One of the ideas was to somehow obtain a org.gradle.api.Project reference, but I couldn't make it either.
Am I missing something big, or is it just that tooling API was never meant to provide access to the gradle API?