Specific pom dependency version when using ranges in build.gradle

Is there a way to produce a pom (using the maven plugin) with specific versions in the dependencies, if in my build.gradle I use ranges?

For example,

If I use:


compile(group: ‘log4j’, name: ‘log4j’, version: ‘1.2.+’)


and version 1.2.27 is used to compile, in my pom I want version 1.2.27, not 1.2.+

Thanks, Chad

Well it looks like when the maven-publish plugin is finalized that should do the trick.