How it is possible to set file name of library which will be in assembly in gradle?


(Medvedev Dmitry) #1

How it is possible to set file name of library which will be in assembly in gradle?

Example: we create assembly of zzz.war
In build.gradle there is a dependence

compile 'group:lib:1.0'

In zzz.war the file of library, with the name lib-1.0.jar will be written, it is necessary for me that the library had a name lib.jar


(Stefan Oehme) #2

Have a look at the documentation of the War task. It supports renaming of files.