forked from google/closure-compiler
-
Notifications
You must be signed in to change notification settings - Fork 0
Using the Compiler's Java API
John Lenz edited this page May 30, 2020
·
5 revisions
-
Setting default options
CompilationLevel.SIMPLE_OPTIMIZATIONS.setOptionsForCompilationLevel(options);
WarningLevel.VERBOSE.setOptionsForWarningLevel(options);
-
Pulling in the default externs
See CommandLineRunner.java getDefaultExterns
http://blog.bolinfest.com/2009/11/calling-closure-compiler-from-java.html