The BUCK build file in this directory is autogenerated from pom.xml.
To update closure-compiler
, closure-templates
, or closure-spreadsheets
, first install Maven.
Then update the maven version in the pom.xml. Then run:
mvn de.evosec:export-dependencies-maven-plugin:buck && mv target/BUCK ./BUCK
Maven will resolve all the transitive dependencies and write the output to
target/BUCK
. Then we move it over the BUCK file in this dir.
Closure Templates relies on a small JS support library soyutils_usegoog.js.
You need to manually copy this from the javascript directory of the Closure Templates repo.
To test Closure Compiler's custom-externs-only option, we copy the externs from the Closure Compiler repo into the externs directory.
This is only used for testing. You only need to worry about this step if the tests don't pass and you're getting weird errors about externs.