From: David ‘Bombe’ Roden Date: Fri, 26 Aug 2022 09:55:30 +0000 (+0200) Subject: 💚 Declare output for “writeVersion” task X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=55b16eeec3c6ad9af4a77e1ee0efc4593f1875d3;p=Sone.git 💚 Declare output for “writeVersion” task --- diff --git a/version.gradle b/version.gradle index 88ff71e..7613871 100644 --- 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