Skip to content

Commit

Permalink
Get version code and version name from tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
roshanrajaratnam committed Apr 12, 2022
1 parent eeab4ac commit 6ed2727
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

apply plugin: 'com.android.application'
apply plugin: 'dagger.hilt.android.plugin'
apply from: rootProject.file("gradle/git-tag-version.gradle")

android {

Expand All @@ -31,8 +32,8 @@ android {
applicationId "no.nordicsemi.android.nrfmeshprovisioner"
minSdkVersion 19
targetSdkVersion 32
versionCode 84
versionName VERSION_NAME
versionCode getVersionCodeFromTags()
versionName getVersionNameFromTags()
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
vectorDrawables.useSupportLibrary = true
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ org.gradle.jvmargs=-Xmx1536m
# org.gradle.parallel=trueandroid.useAndroidX=true
android.useAndroidX=true

VERSION_NAME=3.1.9
# VERSION_NAME=3.2.0
GROUP=no.nordicsemi.android

POM_DESCRIPTION=BLE Mesh library for Android
Expand Down

0 comments on commit 6ed2727

Please sign in to comment.