Skip to content

Commit f7784da

Browse files
committed
Print version on publish
1 parent 072be3c commit f7784da

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

build.gradle.kts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,3 +227,14 @@ publishing {
227227
}
228228
}
229229
}
230+
231+
val printVersion = tasks.register("printVersion") {
232+
inputs.property("ver", artifactVersionProvider)
233+
doFirst {
234+
println("Publishing Parchment ${artifactVersionProvider.get()}")
235+
}
236+
}
237+
238+
tasks.named("publishExportPublicationToPaperRepository") {
239+
dependsOn(printVersion)
240+
}

0 commit comments

Comments
 (0)