code clean up, formatting
rewrite gradle for 1.7.2/1.7.10 cross builds
ignore .swp files
silencing gradle deprecation warning