code: public CompilerConfiguration getCompilerConfiguration() {
          CompilerConfiguration cc = new CompilerConfiguration();
          ImportCustomizer imports = new ImportCustomizer();
          for (String starImport: STAR_IMPORTS) {
              imports.addStarImports(starImport);
          }
          for (String staticStar: STATIC_IMPORTS) {
              imports.addStaticStars(staticStar);
          }
          cc.addCompilationCustomizers(imports);
          return cc;
      }
docs: Get default compiler configuration for {@link GroovyShell}.