Skip to content
This repository has been archived by the owner on Apr 20, 2022. It is now read-only.

Commit

Permalink
filtering resources to add correct version kermitt2#322
Browse files Browse the repository at this point in the history
Former-commit-id: 99ea296
  • Loading branch information
lfoppiano committed Aug 16, 2018
1 parent bab9e47 commit 2e26e6e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,14 @@ project("grobid-core") {
archives shadowJar
archives mainJar
}

processResources {
filesMatching('grobid-version.txt') {
filter {
it.replace('project.version', project.property('version'))
}
}
}
}

project("grobid-home") {
Expand Down
2 changes: 1 addition & 1 deletion grobid-core/src/main/resources/grobid-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.1-SNAPSHOT
project.version

0 comments on commit 2e26e6e

Please sign in to comment.