LendingClub / gradle-maven-plugin

maven plugin to invoke gradle
73 stars 36 forks source link

Gradle 5.x Tooling API #40

Open nverbeek opened 5 years ago

nverbeek commented 5 years ago

This plugin does not work with the latest gradle versions beyond 5.0. For example, with 5.1.1:

org.gradle.tooling.GradleConnectionException: Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-5.1.1-bin.zip'

This is a bit of a misleading exception, the reality is this plugin does not support the new tooling API. If I build against 4.10.1, I get this message in the output:

Support for clients using a tooling API version older than 3.0 was deprecated and will be removed in Gradle 5.0. You are currently using tooling API version 2.13. You should upgrade your tooling API client to version 3.0 or later.

Is there a plan to support the new tooling API?

philipa commented 4 years ago

I'm also interested. The latest SDK requires gradle 6.1.1, so is incompatible with this plugin.

philipa commented 4 years ago

https://github.com/raphw/gradle-maven-plugin has the required support.

MykolaGolubyev commented 4 years ago

@philipa is patch published to maven central?