Hey all. Anybody know how I can set the version on...
# multiplatform
a
Hey all. Anybody know how I can set the version on the android pom file when using the publishToMavenLocal task to build my project for publishing to nexus? I want to set the pom file version to match our git branch name version It seems i can set it in build.gradle like this:
Copy code
android {
    publishLibraryVariants("release", "debug")

    mavenPublication {
        version =
    }
}
however, the version I want to use is the one that is generated from buildHelper.getGitVersionInfo().FullSemVer But I'm not sure how to get this from build.gradle