This build file gave me an error in Android studio because the variables VersionInt and VersionName were not preceded with "def" to signal variable definition.
In addition, once that error was corrected, VersionName caused an error because it is a reserved name in Gradle, so I changed it to mVersionName.
This build file gave me an error in Android studio because the variables VersionInt and VersionName were not preceded with "def" to signal variable definition.
In addition, once that error was corrected, VersionName caused an error because it is a reserved name in Gradle, so I changed it to mVersionName.