I’ve been banging my head against this one for a while now and I am only seeing this when running against Gradle 2.13 and when the Gradle version invoking it is Gradle 2.13 or Gradle 2.14.
I’ve checked the Gradle Source code for releases 2.13-3.2 and I cannot find such a signature. Maybe I’m just going mad.
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:270)
at org.gradle.testkit.runner.internal.DefaultGradleRunner.build(DefaultGradleRunner.java:219)
The release notes for 2.14 do not provide any clue either of a significant enough change for this to be possible.
Anyone has any idea where I can look?