[GRADLE-3433]  NoSuchMethodError in TestKit when using GradleRunner Created: 11/Apr/16  Updated: 04/May/16  Resolved: 04/May/16

Status: Resolved
Project: Gradle
Affects Version/s: 2.10
Fix Version/s: 2.14-rc-1

Type: Bug
Reporter: Benjamin Muschko Assignee: Unassigned
Resolution: Fixed Votes: 1


 Description   

After upgrading from 2.9 to 2.10, we are getting this error when calling GradleRunner.create()....build():

org.gradle.tooling.internal.consumer.DefaultBuildLauncher.withInjectedClassPath(Lorg/gradle/testkit/jarjar/org/gradle/internal/classpath/ClassPath;)Lorg/gradle/tooling/internal/consumer/AbstractLongRunningOperation;
java.lang.NoSuchMethodError: org.gradle.tooling.internal.consumer.DefaultBuildLauncher.withInjectedClassPath(Lorg/gradle/testkit/jarjar/org/gradle/internal/classpath/ClassPath;)Lorg/gradle/tooling/internal/consumer/AbstractLongRunningOperation;
	at org.gradle.testkit.runner.internal.ToolingApiGradleExecutor.run(ToolingApiGradleExecutor.java:98)
	at org.gradle.testkit.runner.internal.DefaultGradleRunner.run(DefaultGradleRunner.java:261)

Reported in the Gradle forum.


Generated at Wed Jun 30 12:48:43 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.