Version 0.9.0
This commit is contained in:
parent
f79af6161d
commit
8c01a4713d
3 changed files with 12 additions and 6 deletions
|
@ -2,9 +2,10 @@
|
|||
|
||||
[](http://opensource.org/licenses/BSD-3-Clause)
|
||||
[](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)
|
||||
[](https://repo.rife2.com/#/releases/com/uwyn/rife2/bld-property-file)
|
||||
[](https://github.com/rife2/bld-property-file/actions/workflows/bld.yml)
|
||||
|
||||
A `bld` extension for creating or modifying [property files](https://docs.oracle.com/javase/tutorial/essential/environment/properties.html) with [bld](https://github.com/rife2/rife2/wiki/What-Is-Bld). It is inspired by the [ant PropertyFile task](https://ant.apache.org/manual/Tasks/propertyfile.html).
|
||||
An extension for creating or modifying [property files](https://docs.oracle.com/javase/tutorial/essential/environment/properties.html) with [bld](https://github.com/rife2/rife2/wiki/What-Is-Bld). It is inspired by the [ant PropertyFile task](https://ant.apache.org/manual/Tasks/propertyfile.html).
|
||||
|
||||
```java
|
||||
@BuildCommand
|
||||
|
@ -71,7 +72,8 @@ The [Entry](https://rife2.github.io/bld-property-file/rife/bld/extension/propert
|
|||
| `unit()` | The unit value to be used with [Types.DATE](https://rife2.github.io/bld-property-file/rife/bld/extension/propertyfile/Entry.Types.html) calculations. See [Units](#units). |
|
||||
|
||||
- For convenience the `key` (and optional `type`) is first set in the constructor.
|
||||
- `key` is required. `value` or `defaultValue` are required except when deleting.
|
||||
- The `key` is required.
|
||||
- A `set` value or `defaultValue` are required except when deleting.
|
||||
- For [Types.DATE](https://rife2.github.io/bld-property-file/rife/bld/extension/propertyfile/Entry.Types.html), the `now` keyword can be used as the property value.
|
||||
|
||||
## Functions
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#Sun Apr 02 10:32:44 PDT 2023
|
||||
bld.extension=com.uwyn.rife2:bld-property-file:0.9.0
|
||||
bld.repositories=MAVEN_LOCAL,RIFE2,https\://repo1.maven.org/maven2/
|
||||
bld.repositories=MAVEN_LOCAL,RIFE2
|
||||
bld.downloadExtensionSources=true
|
||||
rife2.downloadLocation=
|
||||
rife2.version=1.5.16
|
|
@ -21,7 +21,9 @@ public class PropertyFileBuild extends Project {
|
|||
javadocOptions
|
||||
.docLint(NO_MISSING)
|
||||
.link("https://rife2.github.io/rife2/");
|
||||
publishRepository = MAVEN_LOCAL;
|
||||
publishRepository = repository("https://repo.rife2.com/releases",
|
||||
property("rife2.username"),
|
||||
property("rife2.password"));
|
||||
publishInfo = new PublishInfo()
|
||||
.groupId("com.uwyn.rife2")
|
||||
.artifactId("bld-property-file")
|
||||
|
@ -35,7 +37,9 @@ public class PropertyFileBuild extends Project {
|
|||
.url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
|
||||
.scm(new PublishScm().connection("scm:git:https://github.com/rife2/bld-property-file.git")
|
||||
.developerConnection("scm:git:git@github.com:rife2/bld-property-file.git")
|
||||
.url("https://github.com/rife2/bld-property-file"));
|
||||
.url("https://github.com/rife2/bld-property-file"))
|
||||
.signKey(property("sign.key"))
|
||||
.signPassphrase(property("sign.passphrase"));
|
||||
|
||||
javaRelease = 17;
|
||||
downloadSources = true;
|
||||
|
@ -43,7 +47,7 @@ public class PropertyFileBuild extends Project {
|
|||
repositories = List.of(MAVEN_CENTRAL, RIFE2);
|
||||
|
||||
scope(compile)
|
||||
.include(dependency("com.uwyn.rife2", "rife2", version(1, 5, 15)));
|
||||
.include(dependency("com.uwyn.rife2", "rife2", version(1, 5, 16)));
|
||||
scope(test)
|
||||
.include(dependency("org.jsoup", "jsoup", version(1, 15, 4)))
|
||||
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 9, 2)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue