Upgraded gradle and added auto-build script

Summary:
- Added auto-build script for jenkins
- Upgraded gradle
- Changed repository to maven
- Better naming for versions
- Upgraded to version 1.1

Change-Id: If6b24cbab58bc5f56d8ebcfa8541a87daaf18399
Fixed some warning and small issues

Change-Id: I132e3bcb46328e26b36f66a63246212565d33cae