Evaluates inline configuration script text against the supplied compiler configuration. @param scriptText the configuration script text @param conf the configuration to customize
(String scriptText, CompilerConfiguration conf)
| 383 | * @param conf the configuration to customize |
| 384 | */ |
| 385 | public static void processConfigScriptText(String scriptText, CompilerConfiguration conf) { |
| 386 | if (scriptText.trim().isEmpty()) return; |
| 387 | |
| 388 | GroovyShell shell = createConfigScriptsShell(conf); |
| 389 | |
| 390 | shell.evaluate(scriptText); |
| 391 | } |
| 392 | |
| 393 | /** |
| 394 | * Builds a configuration script that applies the supplied transformations. |
no test coverage detected