Delete SoyFileSet.Builder.setLocalTypeRegistry
All type configuration should be done via the addProtoDescriptors methods.
GITHUB_BREAKING_CHANGES=setLocalTypeRegistry users should switch to calling addProtoDescriptors
@@ -580,12 +580,6 @@ public final class SoyFileSet {
return this;
}
- /** Override the global type registry with one that is local to this file set. */
- public Builder setLocalTypeRegistry(SoyTypeRegistry typeRegistry) {
- this.localTypeRegistry = typeRegistry;
- return this;
- }
-
private Builder addFile(SoyFileSupplier supplier) {
filesBuilder.put(supplier.getFilePath(), supplier);
return this;
