Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (8 sloc) 308 Bytes
ext.getVersionCode = {
majorVersion, minorVersion, patchVersion, buildVersion ->
return majorVersion * 10000000 + minorVersion * 100000 + patchVersion * 1000 + buildVersion
}
ext.getVersionName = {
majorVersion, minorVersion, patchVersion ->
return "${majorVersion}.${minorVersion}.${patchVersion}"
}
You can’t perform that action at this time.