I'd like to change "app-release.apk" file name to like following when I build an app by using gradle.

```

[format]
(appname of package name)_V(version code)_(yyMMdd)_(R|T)

[explain]
(appname of package name) : example) com.example.myApp -> myApp
(version code) : build version code 2.2.3 -> 223
(yyMMdd) : build date 2015.11.18 -> 151118  
(R|T) : if app is release, "R" but debug is "T".

```

If I generate an apk file in release, result is : myApp\_V223\_151118\_R.apk.

How to make a file name like this in gradle?