updated gradle build to support maven publish