@@ -18,7 +18,7 @@ class GroovyWorkerImpl extends GroovyWorker {
1818 sourceFiles : Seq [Path ],
1919 classpath : Seq [Path ],
2020 outputDir : Path ,
21- config : GroovyCompilerConfiguration ,
21+ config : GroovyCompilerConfiguration
2222 )(implicit ctx : TaskCtx ): Result [CompilationResult ] = {
2323 val compilerConfig = new CompilerConfiguration ()
2424 compilerConfig.setTargetDirectory(outputDir.toIO)
@@ -27,7 +27,9 @@ class GroovyWorkerImpl extends GroovyWorker {
2727 " stubDir" -> outputDir.toIO,
2828 " keepStubs" -> false
2929 ).asJava)
30- compilerConfig.setDisabledGlobalASTTransformations(config.disabledGlobalAstTransformations.asJava)
30+ compilerConfig.setDisabledGlobalASTTransformations(
31+ config.disabledGlobalAstTransformations.asJava
32+ )
3133 compilerConfig.setPreviewFeatures(config.enablePreview)
3234 config.targetBytecode.foreach(compilerConfig.setTargetBytecode)
3335
@@ -56,7 +58,7 @@ class GroovyWorkerImpl extends GroovyWorker {
5658 sourceFiles : Seq [os.Path ],
5759 classpath : Seq [os.Path ],
5860 outputDir : os.Path ,
59- config : GroovyCompilerConfiguration ,
61+ config : GroovyCompilerConfiguration
6062 )(implicit
6163 ctx : TaskCtx
6264 ): Result [CompilationResult ] = {
@@ -66,7 +68,9 @@ class GroovyWorkerImpl extends GroovyWorker {
6668 val compilerConfig = new CompilerConfiguration ()
6769 compilerConfig.setTargetDirectory(outputDir.toIO)
6870 compilerConfig.setClasspathList(extendedClasspath.map(_.toIO.getAbsolutePath).asJava)
69- compilerConfig.setDisabledGlobalASTTransformations(config.disabledGlobalAstTransformations.asJava)
71+ compilerConfig.setDisabledGlobalASTTransformations(
72+ config.disabledGlobalAstTransformations.asJava
73+ )
7074 compilerConfig.setPreviewFeatures(config.enablePreview)
7175 config.targetBytecode.foreach(compilerConfig.setTargetBytecode)
7276
0 commit comments