[api-compatibility][gradle] expose fields used in third party plugins as @Internal API to prevent breaking changes

(cherry picked from commit 44df8376e102d6f10c08b89b785b1c5dd132e97c)

IJ-CR-148093

GitOrigin-RevId: 9eaf2032780caad141400adabac2106664047686
This commit is contained in:
Alexander.Glukhov
2024-10-30 16:09:38 +00:00
committed by intellij-monorepo-bot
parent 8a7073429b
commit b36a722801
@@ -392,8 +392,18 @@ public class GradleExtensionsSettings {
}
public static class GradleTask implements TypeAware {
private final @NotNull String name;
private final @NotNull String typeFqn;
/**
* Do not access the field directly, use {@link GradleTask#getName()} instead.
*/
@ApiStatus.Internal
public final @NotNull String name;
/**
* Do not access the field directly, use {@link GradleTask#getTypeFqn()} instead.
*/
@ApiStatus.Internal
public final @NotNull String typeFqn;
public GradleTask(@NotNull String name, @NotNull String typeFqn) {
this.name = name;