https://github.com/rife2/bld-jreleaser
JReleaser Extension for bld
https://github.com/rife2/bld-jreleaser
bld build-system build-tool build-tool-plugin jreleaser
Last synced: 5 months ago
JSON representation
JReleaser Extension for bld
- Host: GitHub
- URL: https://github.com/rife2/bld-jreleaser
- Owner: rife2
- License: apache-2.0
- Created: 2025-01-16T22:09:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-01-01T23:45:34.000Z (5 months ago)
- Last Synced: 2026-01-04T07:17:30.679Z (5 months ago)
- Topics: bld, build-system, build-tool, build-tool-plugin, jreleaser
- Language: Java
- Homepage:
- Size: 174 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# [JReleaser](https://jreleaser.org/) Extension for [bld](https://rife2.com/bld)
[](https://opensource.org/licenses/Apache-2.0)
[](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)
[](https://rife2.com/bld)
[](https://repo.rife2.com/#/releases/com/uwyn/rife2/bld-jreleaser)
[](https://repo.rife2.com/#/snapshots/com/uwyn/rife2/bld-jreleaser)
[](https://github.com/rife2/bld-jreleaser/actions/workflows/bld.yml)
To install the latest version, add the following to the `lib/bld/bld-wrapper.properties` file:
```properties
bld.extension-jreleaser=com.uwyn.rife2:bld-jreleaser
```
For more information, please refer to the [extensions](https://github.com/rife2/bld/wiki/Extensions) documentation.
## Generate JReleaser Config File
To generate a JReleaser config file, add the following to your build file:
```java
@BuildCommand(value = "jreleaser-init", summary = "Create a JReleaser config file.")
public void jreleaserInit() throws Exception {
new JReleaserInitOperation()
.fromProject(this)
.overwrite().debug()
.format(JReleaserInitOperation.Format.JSON)
.execute();
}
```
Then run the following command:
```
./bld jreleaser-init
```
- [View Examples Project](https://github.com/rife2/bld-jreleaser/blob/master/examples/src/bld/java/com/example/)
Please check the [documentation](https://rife2.github.io/bld-jreleaser/rife/bld/extension/package-summary.html) for all available configuration options.
## JReleaser Dependency
Don't forget to add the [JReleaser](https://jreleaser.org/) dependency to your build file, as they are not provided by the extension. For example:
```java
repositories = List.of(MAVEN_CENTRAL);
scope(provided)
.include(dependency("org.jreleaser", "jreleaser", version(1, 17, 0)));
```