Skip to content

Commit

Permalink
Add the versionName gradle task
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall committed Aug 4, 2019
1 parent 741f9d2 commit c93e0e1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,9 @@ android {
dependencies {
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}

task versionName {
doLast {
print android.defaultConfig.versionName
}
}

0 comments on commit c93e0e1

Please sign in to comment.