How to rename file in flatDir

Hi I have a dependency

reports "ala:bala:6.5.4:min@js"

I wrote

flatDir name: 'localRepository', dirs:"C:\dirRepo"

and in the dirRepo directory I put

bala.min.js How to rename the file that Gradle will take it?

What ‘reports’ method that accepts a dependency notation are you referring to?

reports is a configuration and then I use this js in a Copy task. What is format that flatDir espects for my js file?

Try ‘bala-min.js’.

Thanks, Peter. That solve my problem. You can mark these problem as solved.