Is there a way to access versionName
in my build.gradle
from xml? I would like to set a TextView
's text with this value.
Or maybe declare a string with the version in strings.xml
and use that in build.gradle
?
Is there nothing simple like @android:strings:version
?