Added workDirectory to examples
This commit is contained in:
parent
3e7250b7bb
commit
7b7ce43626
4 changed files with 16 additions and 5 deletions
|
@ -60,7 +60,7 @@ You can specified your own template using some or all of the template value tags
|
|||
public void genver() throws Exception {
|
||||
new GeneratedVersionOperation()
|
||||
.fromProject(this)
|
||||
.classTemplate(new File(".", "myversion.txt"))
|
||||
.classTemplate(new File(workDirectory, "myversion.txt"))
|
||||
.execute();
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue