I have to rewrite a gradle plugin (written in groovy) in kotlin.
With Groovy, i can make that to access Android versionName property :
String versionName =