JReleaser Extension for bld https://github.com/rife2/bld-jreleaser
Find a file
Erik C. Thauvin e6043201f2
Some checks failed
bld-ci / build-bld-project (17, 1.9.25, macos-latest) (push) Has been cancelled
bld-ci / build-bld-project (17, 1.9.25, ubuntu-latest) (push) Has been cancelled
bld-ci / build-bld-project (17, 1.9.25, windows-latest) (push) Has been cancelled
bld-ci / build-bld-project (17, 2.0.21, macos-latest) (push) Has been cancelled
bld-ci / build-bld-project (17, 2.0.21, ubuntu-latest) (push) Has been cancelled
bld-ci / build-bld-project (17, 2.0.21, windows-latest) (push) Has been cancelled
bld-ci / build-bld-project (17, 2.1.20, macos-latest) (push) Has been cancelled
bld-ci / build-bld-project (17, 2.1.20, ubuntu-latest) (push) Has been cancelled
bld-ci / build-bld-project (17, 2.1.20, windows-latest) (push) Has been cancelled
bld-ci / build-bld-project (21, 1.9.25, macos-latest) (push) Has been cancelled
bld-ci / build-bld-project (21, 1.9.25, ubuntu-latest) (push) Has been cancelled
bld-ci / build-bld-project (21, 1.9.25, windows-latest) (push) Has been cancelled
bld-ci / build-bld-project (21, 2.0.21, macos-latest) (push) Has been cancelled
bld-ci / build-bld-project (21, 2.0.21, ubuntu-latest) (push) Has been cancelled
bld-ci / build-bld-project (21, 2.0.21, windows-latest) (push) Has been cancelled
bld-ci / build-bld-project (21, 2.1.20, macos-latest) (push) Has been cancelled
bld-ci / build-bld-project (21, 2.1.20, ubuntu-latest) (push) Has been cancelled
bld-ci / build-bld-project (21, 2.1.20, windows-latest) (push) Has been cancelled
bld-ci / build-bld-project (24, 1.9.25, macos-latest) (push) Has been cancelled
bld-ci / build-bld-project (24, 1.9.25, ubuntu-latest) (push) Has been cancelled
bld-ci / build-bld-project (24, 1.9.25, windows-latest) (push) Has been cancelled
bld-ci / build-bld-project (24, 2.0.21, macos-latest) (push) Has been cancelled
bld-ci / build-bld-project (24, 2.0.21, ubuntu-latest) (push) Has been cancelled
bld-ci / build-bld-project (24, 2.0.21, windows-latest) (push) Has been cancelled
bld-ci / build-bld-project (24, 2.1.20, macos-latest) (push) Has been cancelled
bld-ci / build-bld-project (24, 2.1.20, ubuntu-latest) (push) Has been cancelled
bld-ci / build-bld-project (24, 2.1.20, windows-latest) (push) Has been cancelled
javadocs-pages / deploy (push) Has been cancelled
build(deps): Bump JUnit to version 5.12.2
2025-04-12 20:04:30 -07:00
.github/workflows ci: Add OS matrix for Ubuntu, Windows and macOS 2025-03-25 09:18:18 -07:00
.idea build: Bump bld to version 2.2.1 2025-02-24 22:31:14 -08:00
.vscode build: Bump bld to version 2.2.1 2025-02-24 22:31:14 -08:00
examples build(deps): Bump JUnit to version 5.12.2 2025-04-12 20:04:30 -07:00
lib/bld build: Bump bld to version 2.2.1 2025-02-24 22:31:14 -08:00
src build(deps): Bump JUnit to version 5.12.2 2025-04-12 20:04:30 -07:00
.gitignore Initial commit 2025-01-16 15:27:20 -08:00
bld Initial commit 2025-01-16 15:27:20 -08:00
bld.bat Initial commit 2025-01-16 15:27:20 -08:00
LICENSE.txt Initial commit 2025-01-16 15:27:20 -08:00
README.md docs: Add generic installation instruction 2025-03-18 13:10:46 -07:00

JReleaser Extension for bld

License Java bld Release Snapshot GitHub CI

To install the latest version, add the following to the lib/bld/bld-wrapper.properties file:

bld.extension-jreleaser=com.uwyn.rife2:bld-jreleaser

For more information, please refer to the extensions documentation.

Generate JReleaser Config File

To generate a JReleaser config file, add the following to your build file:

@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

Please check the documentation for all available configuration options.

JReleaser Dependency

Don't forget to add the JReleaser dependency to your build file, as they are not provided by the extension. For example:

repositories = List.of(MAVEN_CENTRAL);
scope(provided)
     .include(dependency("org.jreleaser", "jreleaser", version(1, 17, 0)));