gradle-processes icon indicating copy to clipboard operation
gradle-processes copied to clipboard

API changes with Gradle 5.3

Open GFriedrich opened this issue 5 years ago • 1 comments

Gradle 5.3 changed some internal APIs which broke this plugin. E.g. you get an error like:

Caused by: java.lang.NoSuchMethodError: org.gradle.process.internal.JavaExecHandleBuilder.<init>(Lorg/gradle/api/internal/file/FileResolver;Ljava/util/concurrent/Executor;Lorg/gradle/initialization/BuildCancellationToken;)V
	at com.github.jengelman.gradle.plugins.processes.internal.DefaultJavaForkAction.<init>(DefaultJavaForkAction.java:17)

Would be great if you could fix it. Thanks in advance!

GFriedrich avatar Mar 22 '19 12:03 GFriedrich

It seems that DefaultJavaForkAction cannot be constructed because its superclass JavaExecHandleBuilder now has more than three arguments since Gradle 5.3+. Which means this plugin only works up to Gradle 5.2.x. Not sure how easy it would be to get it back to working, but would be a massive help to us as we're in quite deep with this plugin.

alwaysthecritic avatar Jan 02 '20 14:01 alwaysthecritic