Added pmd extension
Added fromProject instead of using the constructor Improved tests
This commit is contained in:
parent
b5af26c074
commit
9dfde85473
18 changed files with 573 additions and 401 deletions
|
@ -11,7 +11,8 @@ An extension for creating or modifying [property files](https://docs.oracle.com/
|
|||
```java
|
||||
@BuildCommand
|
||||
public void updateMajor() throws Exception {
|
||||
new PropertyFileOperation(this)
|
||||
new PropertyFileOperation()
|
||||
.fromProject(this)
|
||||
.file("version.properties")
|
||||
.entry(new EntryInt("version.major").defaultValue(0).calc(ADD))
|
||||
.entry(new EntryInt("version.minor").set(0))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue