Skip to content

Commit

Permalink
Add versionName gradle task
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall committed Jan 5, 2020
1 parent b9a57ff commit 954cada
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 @@ -46,3 +46,9 @@ dependencies {
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test:rules:1.0.2'
}

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

0 comments on commit 954cada

Please sign in to comment.