From 3fe54858fa87f7de0161089f365c1d3da3a917d1 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Mon, 3 Apr 2023 08:44:38 -0700 Subject: [PATCH] Added link to build class in README --- examples/README.md | 2 ++ examples/src/bld/java/com/example/PropertyFileExampleBuild.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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();