diff --git a/examples/README.md b/examples/README.md index 96a664a..0eec846 100644 --- a/examples/README.md +++ b/examples/README.md @@ -52,3 +52,5 @@ version.major=1 version.minor=0 version.patch=10 ``` + +[View the Examples Build](https://github.com/rife2/bld-property-file/blob/master/examples/src/bld/java/com/example/PropertyFileExampleBuild.java) \ No newline at end of file diff --git a/examples/src/bld/java/com/example/PropertyFileExampleBuild.java b/examples/src/bld/java/com/example/PropertyFileExampleBuild.java index e3e88a6..966a217 100644 --- a/examples/src/bld/java/com/example/PropertyFileExampleBuild.java +++ b/examples/src/bld/java/com/example/PropertyFileExampleBuild.java @@ -73,7 +73,7 @@ public class PropertyFileExampleBuild extends Project { // set the minor version to 0 if it doesn't exist .entry(new Entry("version.minor").defaultValue(0)) // set the patch version to 10 if it doesn't exist, increase by 10 - .entry(new Entry("version.patch").defaultValue(0).type(Types.INT).operation(Operations.ADD).value(10)) + .entry(new Entry("version.patch").value(10).defaultValue(0).type(Types.INT).operation(Operations.ADD)) // set the build date to the current date .entry(buildDateEntry) .execute();