How to avoid version name from dependencies in an EAR?

I am trying to load manifest from the file system vs Gradle creating it for the jar, this is causing name mismatch where Gradle is creating jars with version in EAR module. How can I tell Gradle not to use Version name with dependency naming ?