You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to make that calculation provided in the link, I need to access the version parts as integers. I know that this is possible with this com.github.zafarkhaja.semver.Version class, but I could not figure out how to access this from the gradle build script.
Hey,
this is probably rather a question than an issue, but I did not figure it out yet.
In an Android app I use the following paradigm to create a
versionCode
: https://medium.com/@manas/manage-your-android-app-s-versioncode-versionname-with-gradle-7f9c5dcf09bfIn order to make that calculation provided in the link, I need to access the version parts as integers. I know that this is possible with this
com.github.zafarkhaja.semver.Version
class, but I could not figure out how to access this from the gradle build script.So I need something like this:
Can you help me out here? I'd rather not parse the version string and split it in parts myself :-)
Thank you guys
The text was updated successfully, but these errors were encountered: