Add pom.xml generation task to build.gradle