build the project with gradle and publish artifacts to the local maven
repository (~/.m2)