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

(Lislegård) #1

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() {
    getLogging().captureStandardOutput(LogLevel.INFO); //error at this line

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

(Stefan Oehme) #2

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

(Lislegård) #3

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

(Stefan Oehme) #4

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

(Lislegård) #5

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.