Add publishing mechanisms to build.gradle
Fix indentation