Skip to content
Snippets Groups Projects
Commit 145ad1ab authored by dgelessus's avatar dgelessus
Browse files

Fix build.gradle possibly not updating build properties

parent 2182fe58
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,10 @@ def readCurrentGitCommit() {
return proc.in.readLines()[0]
}
final currentGitCommit = readCurrentGitCommit()
processResources {
inputs.property("project.version", project.version)
inputs.property("currentGitCommit", currentGitCommit)
filesMatching("de/prob2/jupyter/build.properties") {
expand(version: project.version, commit: readCurrentGitCommit())
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment