File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
src/main/java/com/cleanroommc/groovyscript/sandbox Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -303,10 +303,13 @@ protected void postInitBindings(Binding binding) {
303303
304304 @ ApiStatus .OverrideOnly
305305 protected void initEngine (CompilerConfiguration config ) {
306- config .setDisabledGlobalASTTransformations (new ObjectOpenHashSet <>() {{
307- // this is some dependency management thing for grape, we don't want this
308- add ("groovy.grape.GrabAnnotationTransformation" );
309- }});
306+ config .setDisabledGlobalASTTransformations (new ObjectOpenHashSet <>() {
307+
308+ {
309+ // this is some dependency management thing for grape, we don't want this
310+ add ("groovy.grape.GrabAnnotationTransformation" );
311+ }
312+ });
310313 config .addCompilationCustomizers (this .importCustomizer );
311314 config .addCompilationCustomizers (new GroovyScriptCompiler ());
312315 config .addCompilationCustomizers (new GroovyScriptEarlyCompiler ());
You can’t perform that action at this time.
0 commit comments