adding build code for bintray upload and fixing the multi build template to look at the correct version.