Remove the timestamp from artifact name

I try upload my gradle file in the nexus repo and I will share those files across the project.
apply from: http://myrepo/+“org/common/dependencies/”+dp_version+"/dependencies-"+dp_version+"-first.gradle"
apply from: http://myrepo/+“org/common/dependencies/”+dp_version+"/dependencies-"+dp_version+"-second.gradle".
The problem here is, it will look for the file with dp_version. But in repo it will have a timestamp. So here how can I remove the timestamp from the name of the artifact while uploading in the nexus.
Currently project using SNAPSHOT version.