diff --git a/.idea/libraries/bld.xml b/.idea/libraries/bld.xml index cf75013..722b42e 100644 --- a/.idea/libraries/bld.xml +++ b/.idea/libraries/bld.xml @@ -2,11 +2,11 @@ - + - + diff --git a/.idea/misc.xml b/.idea/misc.xml index 4e11c3d..9e2585b 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -17,6 +17,11 @@ + diff --git a/README.md b/README.md index 8abcf73..7fe6627 100755 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![License](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Java](https://img.shields.io/badge/java-17%2B-blue)](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html) -[![bld](https://img.shields.io/badge/1.7.3-FA9052?label=bld&labelColor=2392FF)](https://rife2.com/bld) +[![bld](https://img.shields.io/badge/1.7.2-FA9052?label=bld&labelColor=2392FF)](https://rife2.com/bld) [![Release](https://flat.badgen.net/maven/v/metadata-url/repo.rife2.com/releases/com/uwyn/rife2/bld-property-file/maven-metadata.xml?color=blue)](https://repo.rife2.com/#/releases/com/uwyn/rife2/bld-property-file) [![Snapshot](https://flat.badgen.net/maven/v/metadata-url/repo.rife2.com/snapshots/com/uwyn/rife2/bld-property-file/maven-metadata.xml?label=snapshot)](https://repo.rife2.com/#/snapshots/com/uwyn/rife2/bld-property-file) [![GitHub CI](https://github.com/rife2/bld-property-file/actions/workflows/bld.yml/badge.svg)](https://github.com/rife2/bld-property-file/actions/workflows/bld.yml) diff --git a/examples/.idea/libraries/bld.xml b/examples/.idea/libraries/bld.xml index 886a133..1513da8 100644 --- a/examples/.idea/libraries/bld.xml +++ b/examples/.idea/libraries/bld.xml @@ -2,12 +2,12 @@ - + - + diff --git a/examples/README.md b/examples/README.md new file mode 100644 index 0000000..616986c --- /dev/null +++ b/examples/README.md @@ -0,0 +1,57 @@ +# [Bld Property File](https://github.com/rife2/bld-property-file) Extension Examples + +## Compile + +First make sure the project up-to-date and compiled: + +```shell +./bld download compile +``` +## Run + +To run the examples, issue one of the following command or combination there off. + +```shell +./bld updateMajor run +./bld updateMinor run +./bld updatePatch run +./bld updateRelease run +``` +Upon execution, the `version.properties` file will be created and displayed: + +```shell +./bld updateMajor run +``` + +```text ++---------------------------+ +| version.properties | ++---------------------------+ +# +#Sun Apr 02 23:51:39 PDT 2023 +build.date=2023-04-02 +version.major=1 +version.minor=0 +version.patch=0 +``` + +Subsequent commands will reflect the modifications to the +`version.major`, `version.minor` or `version.patch` properties: + +```shell +./bld upatePatch run +``` + +```text ++---------------------------+ +| version.properties | ++---------------------------+ +# +#Sun Apr 02 23:55:09 PDT 2023 +build.date=2023-04-02 +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/lib/bld/bld-wrapper.jar b/examples/lib/bld/bld-wrapper.jar index 9b4ee52..605e3e4 100644 Binary files a/examples/lib/bld/bld-wrapper.jar and b/examples/lib/bld/bld-wrapper.jar differ diff --git a/examples/lib/bld/bld-wrapper.properties b/examples/lib/bld/bld-wrapper.properties index 3d547d1..e2a4d72 100644 --- a/examples/lib/bld/bld-wrapper.properties +++ b/examples/lib/bld/bld-wrapper.properties @@ -3,4 +3,4 @@ bld.extension=com.uwyn.rife2:bld-property-file:0.9.3-SNAPSHOT bld.repositories=MAVEN_CENTRAL,RIFE2_SNAPSHOTS,RIFE2_RELEASES bld.downloadExtensionSources=true bld.downloadLocation= -bld.version=1.7.5 +bld.version=1.7.2 diff --git a/examples/version.properties b/examples/version.properties deleted file mode 100644 index ad97358..0000000 --- a/examples/version.properties +++ /dev/null @@ -1,6 +0,0 @@ -# -#Fri Oct 20 21:09:14 PDT 2023 -release=beta.20231020210914 -version.major=1 -version.minor=0 -version.patch=1 diff --git a/lib/bld/bld-wrapper.jar b/lib/bld/bld-wrapper.jar index 9b4ee52..605e3e4 100644 Binary files a/lib/bld/bld-wrapper.jar and b/lib/bld/bld-wrapper.jar differ diff --git a/lib/bld/bld-wrapper.properties b/lib/bld/bld-wrapper.properties index aad7529..bbd1fdc 100644 --- a/lib/bld/bld-wrapper.properties +++ b/lib/bld/bld-wrapper.properties @@ -4,4 +4,4 @@ bld.extension-pmd=com.uwyn.rife2:bld-pmd:0.9.2 bld.extension-jacoco=com.uwyn.rife2:bld-jacoco-report:0.9.0 bld.repositories=MAVEN_CENTRAL,RIFE2_SNAPSHOTS,RIFE2_RELEASES bld.downloadLocation= -bld.version=1.7.5 +bld.version=1.7.2 diff --git a/src/bld/java/rife/bld/extension/propertyfile/PropertyFileBuild.java b/src/bld/java/rife/bld/extension/propertyfile/PropertyFileBuild.java index 970c756..b91c0a8 100644 --- a/src/bld/java/rife/bld/extension/propertyfile/PropertyFileBuild.java +++ b/src/bld/java/rife/bld/extension/propertyfile/PropertyFileBuild.java @@ -45,9 +45,9 @@ public class PropertyFileBuild extends Project { repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES); scope(compile) - .include(dependency("com.uwyn.rife2", "bld", version(1, 7, 5))); + .include(dependency("com.uwyn.rife2", "bld", version(1, 7, 2))); scope(test) - .include(dependency("org.jsoup", "jsoup", version(1, 16, 2))) + .include(dependency("org.jsoup", "jsoup", version(1, 16, 1))) .include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 10, 0))) .include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 10, 0))) .include(dependency("org.assertj:assertj-joda-time:2.2.0"));