Skip to content

Adding a new public type and a method fails binary compatibility check #26990

@reinsch82

Description

@reinsch82

Current Behavior

I added this class

package org.gradle.api.problems;

import org.gradle.api.Incubating;

/**
 * A registry for {@link ProblemTransformer} class types.
 *
 * @since 8.6
 */
@Incubating
public interface ProblemTransformerRegistry {
    void register(Class<? extends ProblemTransformer> transformerClass);
}

It fails the binary compatibility check in our own gradle/gradle build

Expected Behavior

It shouldn't fail it.

Context (optional)

No response

Steps to Reproduce

Add a public type and a method that triggers kotlin extensions generation, e.g. with a function taking Class

Gradle version

8.6

Build scan URL (optional)

https://ge.gradle.org/s/tilygb53wzsgq

Your Environment (optional)

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions