groovy / GMavenPlus

A rewrite of GMaven, a Maven plugin for Groovy
Other
285 stars 35 forks source link

Create a `fork` option to prepare toolchain support #282

Open bmarwell opened 1 year ago

bmarwell commented 1 year ago

Before we implement toolchains, I suggest to implement a fork parameter first.

Rationale:

That said, sdkman uses GROOVY_HOME=…. If that doesn't yield anything for fork mode to use, just look for groovyc in the $PATH. If that did not find anything, abort.

Toolchain Support for #43 would just need to read the toolchain variable and use that installDir parameter (or similar) instead of the default $GROOVY_HOME.

bmarwell commented 1 year ago

Related: see <fork> for the maven compiler plugin as reference.