Evaluates configuration scripts against the supplied compiler configuration. @param scripts the configuration script paths @param conf the configuration to customize @throws IOException if a script cannot be read
(List<String> scripts, CompilerConfiguration conf)
| 367 | * @throws IOException if a script cannot be read |
| 368 | */ |
| 369 | public static void processConfigScripts(List<String> scripts, CompilerConfiguration conf) throws IOException { |
| 370 | if (scripts.isEmpty()) return; |
| 371 | |
| 372 | GroovyShell shell = createConfigScriptsShell(conf); |
| 373 | |
| 374 | for (String script : scripts) { |
| 375 | shell.evaluate(new File(script)); |
| 376 | } |
| 377 | } |
| 378 | |
| 379 | /** |
| 380 | * Evaluates inline configuration script text against the supplied compiler configuration. |
no test coverage detected