[Gradle] Snapshot task did not like the new pom