Format file.
Protect empty directory.
Upgrade to Groovy 2 and groovy-eclipse-compiler.
Fix bug with version comparison.