LendingClub / gradle-maven-plugin

maven plugin to invoke gradle
73 stars 36 forks source link

Enhancement request #6

Closed dlethin closed 11 years ago

dlethin commented 11 years ago

This is a great plugin. Thanks for developing it. One enhancement request would be to add provisions in the configuration to support the following:

  1. specify which version of gradle to use ( right now it defaults 1.3) 2.. specify a URL for the distribution of gradle to use (in case there is a custom build distribution for a given organization)
  2. specify a home directory for gradle to run out of.

The functionality is available in the tooling api, so this should be relatively easy to accommodate. Since you're on github I could potentially take a stab at forking the code and trying it out and submitting a pull request.

Thanks.

Doug

if6was9 commented 11 years ago

Glad you find it useful.

gradleVersion is already there. It's just not documented.

https://github.com/if6was9/gradle-maven-plugin/blob/master/src/main/java/org/fortasoft/maven/plugin/gradle/GradleMojo.java#L48

I'll add the other two.

dlethin commented 11 years ago

Thanks. I see there are options for java_home and jvmArgs too. Excellent.

if6was9 commented 11 years ago

"master" now has 1.0.2-SNAPSHOT revision, which includes options for the requested items.

I'll do a binary release of 1.0.2 later this week if everything looks good.