Removes java 7 method usage. Adds jcenter repo for subprojects

Had to add the jcenter repo in order to install locally.