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