LendingClub / gradle-maven-plugin

maven plugin to invoke gradle
73 stars 36 forks source link

Error with gradle-tooling-api 2.6 and up #24

Open brian428 opened 9 years ago

brian428 commented 9 years ago

In version 2.6, the tooling API added another withArguments() method to BuildLauncher (actually the superclass, ConfigurableLauncher) which seems to interfere with the plugin's call to this method. The GradleMojo's call to withArguments() (happens here: https://github.com/if6was9/gradle-maven-plugin/blob/master/src/main/java/org/fortasoft/maven/plugin/gradle/GradleMojo.java#L240) results in a NoSuchMethodError if you use any tooling API version above 2.5.

thamacher commented 8 years ago

So what can be done to avoid this?