updated gradle build to support maven publishing