projects
/
Sone.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f4493c
)
💚 Declare output for “writeVersion” task
author
David ‘Bombe’ Roden
<bombe@pterodactylus.net>
Fri, 26 Aug 2022 09:55:30 +0000
(11:55 +0200)
committer
David ‘Bombe’ Roden
<bombe@pterodactylus.net>
Fri, 26 Aug 2022 09:56:46 +0000
(11:56 +0200)
version.gradle
patch
|
blob
|
history
diff --git
a/version.gradle
b/version.gradle
index
88ff71e
..
7613871
100644
(file)
--- a/
version.gradle
+++ b/
version.gradle
@@
-10,6
+10,7
@@
buildscript {
import org.ajoberstar.grgit.Grgit
task(writeVersion) {
+ it.outputs.file("src/generated/resources/version.yaml")
doLast {
def grgit = Grgit.open(dir: project.rootDir)
def version = grgit.resolve.toCommit("HEAD").id