You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have a way to construct a toolchain from an arbitrary path programmatically.
For example we have a task that constructs a custom Java distribution.
For some tasks I want this to be used and not the "normal" toolchain configured for the build as a whole.
Currently with Gradle 6.8.2 I have to feed an empty provider to the tool property to clear the value including convention and then use executable to set the executable.
It would be nice if instead the task could expose a provider with a manually constructed toolchain from its output path that can then be used to set the tool property.
The text was updated successfully, but these errors were encountered:
Vampire
changed the title
Possibility to manually create a ToolChain programmatically
Possibility to manually create a Toolchain programmatically
Feb 22, 2021
This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. If you're interested in how we try to keep the backlog in a healthy state, please read our blog post on how we refine our backlog. If you feel this is something you could contribute, please have a look at our Contributor Guide. Thank you for your contribution.
It would be nice to have a way to construct a toolchain from an arbitrary path programmatically.
For example we have a task that constructs a custom Java distribution.
For some tasks I want this to be used and not the "normal" toolchain configured for the build as a whole.
Currently with Gradle 6.8.2 I have to feed an empty provider to the tool property to clear the value including convention and then use
executable
to set the executable.It would be nice if instead the task could expose a provider with a manually constructed toolchain from its output path that can then be used to set the tool property.
The text was updated successfully, but these errors were encountered: