Add gradle config

Fix #11
Upgrade plugin and test deps
Fix spaces and indentation