JReleaser Extension for bld https://github.com/rife2/bld-jreleaser
Find a file
Erik C. Thauvin 18fce5c29a
Some checks failed
bld-ci / build-bld-project (17) (push) Has been cancelled
bld-ci / build-bld-project (21) (push) Has been cancelled
bld-ci / build-bld-project (23) (push) Has been cancelled
javadocs-pages / deploy (push) Has been cancelled
refactor: Add provided lib directory to execution classpath
2025-02-05 00:40:36 -08:00
.github/workflows ci: Change branch from master to main 2025-01-23 16:01:37 -08:00
.idea Initial commit 2025-01-16 15:27:20 -08:00
.vscode Initial commit 2025-01-16 15:27:20 -08:00
examples Initial commit 2025-01-16 15:27:20 -08:00
lib/bld Initial commit 2025-01-16 15:27:20 -08:00
src refactor: Add provided lib directory to execution classpath 2025-02-05 00:40:36 -08: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 refactor: Add provided lib directory to execution classpath 2025-02-05 00:40:36 -08:00

JReleaser Extension for bld

License Java bld Release Snapshot GitHub CI

To install, please refer to the extensions documentation.

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, 16, 0)));