Mark JavaPluginData immutable.
The structure is already immutable. This makes it possible to collect JavaPluginData-s in a depset, needed by rules_kotlin public repo.
@@ -84,6 +84,11 @@ public interface JavaPluginInfoApi<
"Returns the files needed during execution by the encapsulated annotation processors.",
structField = true)
Depset /*<FileApi>*/ getProcessorDataForStarlark();
+
+ @Override
+ default boolean isImmutable() {
+ return true;
+ }
}
@StarlarkMethod(
