Gradle 2.14-rc-1 breaks binary compatibility AbstractTask.getLogging()

We have a custom task implemented in Java. This is part of a custom plugin compiled against Gradle 2.1

When we apply the plugin with gradle 2.14-rc-1 we get an error Caused by: java.lang.NoSuchMethodError: org.gradle.logging.LoggingManagerInternal.captureStandardOutput(Lorg/gradle/api/logging/LogLevel;)Lorg/gradle/logging/LoggingManagerInternal;

The java implementation looks like this:

public WeblogicGenClientTask() {
    super();
    getLogging().captureStandardOutput(LogLevel.INFO); //error at this line
    getLogging().captureStandardError(LogLevel.DEBUG);
}

It seems that org.gradle.logging.LoggingManagerInternal in gradle 2.14-rc-1 has lost it’s signatures that the task is compiled against.

Could you please try again with 2.14-rc-3?

It’s the same behavior with 2.14-rc-3.

This will be fixed in 2.14-rc-4. Thanks for reporting it!

Why thank all of you for the continuous effort on making our wonderful build environment come true.
I tested it works again in 2.14-rc-4.

1 Like