Rename result file in Gradle EAR deploy dependency configuration

I am new in Gradle. Therefore maybe my question is a simple but could not find the way how is possible to rename result file when try to deploy project or artifact into EAR package. I need delete the version name from the file name template. For example:

dependencies {

earlib group: ‘org.springframework’, name: ‘spring-aop’, version:‘3.2.0.RELEASE’ } Result ear will contain file spring-aop-3.2.0.RELEASE.jar into EAR. But I need spring-aop.jar as the result file.

Is there some property of earlib to do it?