Skip to content

Commit

Permalink
chore: Add printVersionName task to Gradle config
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxct authored Aug 6, 2024
1 parent 01267e6 commit 142a91a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,10 @@ dependencies {
androidTestImplementation(libs.androidx.ui.test.junit4)
debugImplementation(libs.androidx.ui.tooling)
debugImplementation(libs.androidx.ui.test.manifest)
}
}

task("printVersionName"){
doLast {
println(android.defaultConfig.versionName)
}
}

0 comments on commit 142a91a

Please sign in to comment.