It would be nice if you could also leave out the version for optional dependencies in the resulting POM.
Leaving it out in the Gradle script might not work, as you then can get problems resolving your configurations.
But as the version of optional dependencies is not taken into account anyway, neither be Gradle nor by Maven, it would be nice if it could also be left out in the resulting pom.