Skip to content

Commit 693ef9c

Browse files
committed
Add: register a task to print the project version in build.gradle.kts
1 parent 8116191 commit 693ef9c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ plugins {
88
group = "fr.sandro642.github"
99
version = "0.1.0"
1010

11+
// Ajoutez cette tâche à votre build.gradle.kts
12+
tasks.register("printVersion") {
13+
doLast {
14+
println(project.version)
15+
}
16+
}
17+
1118
repositories {
1219
mavenCentral()
1320
}

0 commit comments

Comments
 (0)