mirror of
https://github.com/jlengrand/jreleaser.git
synced 2026-03-10 08:31:24 +00:00
156 lines
4.7 KiB
YAML
156 lines
4.7 KiB
YAML
project:
|
||
name: jreleaser
|
||
description: Release Java projects quickly and easily with JReleaser
|
||
longDescription: |
|
||
JReleaser is a release automation tool for Java projects. Its goal is to simplify creating releases
|
||
and publishing artifacts to multiple package managers while providing customizable options.
|
||
|
||
JReleaser takes inputs from popular builds tools (Ant, Maven, Gradle) such as JAR files, binary
|
||
distributions (.zip, .tar), JLink images, or any other file that you’d like to publish as a Git
|
||
release on popular Git services such as Github or Gitlab. Distribution files can additionally be
|
||
published to be consumed by popular package managers as Homebrew, Snapcraft, or get ready to be
|
||
launched via Jbang. Releases may be announced in a variety of channels such as Twitter, Zulip, or SDKMAN!
|
||
|
||
website: https://jreleaser.org
|
||
authors:
|
||
- Andres Almiray
|
||
license: Apache-2.0
|
||
java:
|
||
groupId: org.jreleaser
|
||
version: 8
|
||
multiProject: true
|
||
|
||
release:
|
||
github:
|
||
username: aalmiray
|
||
overwrite: true
|
||
draft: false
|
||
sign: true
|
||
changelog:
|
||
formatted: ALWAYS
|
||
change: '- {{commitShortHash}} {{commitTitle}}'
|
||
labelers:
|
||
- label: 'feature'
|
||
title: 'Resolves #'
|
||
body: 'Resolves #'
|
||
- label: 'issue'
|
||
title: 'Fixes #'
|
||
body: 'Fixes #'
|
||
- label: 'issue'
|
||
title: 'Relates to #'
|
||
body: 'Relates to #'
|
||
- label: 'task'
|
||
title: '[chore]'
|
||
categories:
|
||
- title: '🚀 Features'
|
||
labels:
|
||
- 'feature'
|
||
- title: '✅ Issues'
|
||
labels:
|
||
- 'issue'
|
||
- title: '🧰 Tasks'
|
||
labels:
|
||
- 'task'
|
||
replacers:
|
||
- search: '\[chore\] '
|
||
replace: ''
|
||
|
||
signing:
|
||
active: always
|
||
armored: true
|
||
|
||
announce:
|
||
twitter:
|
||
active: release
|
||
sdkman:
|
||
active: release
|
||
|
||
assemble:
|
||
jlinks:
|
||
jreleaser-standalone:
|
||
active: always
|
||
extraProperties:
|
||
sdkmanSkip: true
|
||
java:
|
||
version: 11
|
||
mainClass: org.jreleaser.cli.Main
|
||
imageName: 'jreleaser-standalone-{{projectEffectiveVersion}}'
|
||
executable: 'jreleaser'
|
||
moduleNames:
|
||
- java.base
|
||
- java.desktop
|
||
- java.management
|
||
- java.naming
|
||
- java.rmi
|
||
- java.security.jgss
|
||
- java.sql
|
||
targetJdks:
|
||
- path: 'apps/jreleaser/build/jdks/zulu11.48.21-ca-jdk11.0.11-macosx_x64/zulu-11.jdk/Contents/Home'
|
||
platform: osx
|
||
- path: 'apps/jreleaser/build/jdks/zulu11.48.21-ca-jdk11.0.11-linux_x64'
|
||
platform: linux
|
||
- path: 'apps/jreleaser/build/jdks/zulu11.48.21-ca-jdk11.0.11-linux_musl_x64'
|
||
platform: linux_musl
|
||
- path: 'apps/jreleaser/build/jdks/zulu11.48.21-ca-jdk11.0.11-win_x64'
|
||
platform: windows
|
||
mainJar:
|
||
path: 'apps/jreleaser/build/libs/jreleaser-{{projectVersion}}.jar'
|
||
jars:
|
||
- directory: 'apps/jreleaser/build/dependencies/flat'
|
||
include: '*.jar'
|
||
|
||
distributions:
|
||
jreleaser:
|
||
java:
|
||
mainClass: org.jreleaser.cli.Main
|
||
brew:
|
||
active: release
|
||
scoop:
|
||
active: release
|
||
snap:
|
||
active: release
|
||
remoteBuild: true
|
||
base: core18
|
||
localPlugs:
|
||
- network
|
||
- home
|
||
jbang:
|
||
active: always
|
||
artifacts:
|
||
- path: apps/{{distributionName}}/build/distributions/{{distributionName}}-{{projectVersion}}.zip
|
||
transform: '{{distributionName}}/{{distributionName}}-{{projectEffectiveVersion}}.zip'
|
||
- path: apps/{{distributionName}}/build/distributions/{{distributionName}}-{{projectVersion}}.tar
|
||
transform: '{{distributionName}}/{{distributionName}}-{{projectEffectiveVersion}}.tar'
|
||
|
||
jreleaser-ant-tasks:
|
||
extraProperties:
|
||
sdkmanSkip: true
|
||
artifacts:
|
||
- path: plugins/{{distributionName}}/build/distributions/{{distributionName}}-{{projectVersion}}.zip
|
||
transform: '{{distributionName}}/{{distributionName}}-{{projectEffectiveVersion}}.zip'
|
||
|
||
jreleaser-tool-provider:
|
||
type: SINGLE_JAR
|
||
executable: jreleaser
|
||
java:
|
||
version: 11
|
||
docker:
|
||
active: always
|
||
labels:
|
||
'org.opencontainers.image.title': jreleaser
|
||
imageNames:
|
||
- '{{repoOwner}}/{{projectName}}-slim:{{tagName}}'
|
||
- '{{repoOwner}}/{{projectName}}-slim:latest'
|
||
postCommands:
|
||
- 'VOLUME /workspace'
|
||
registries:
|
||
- serverName: DEFAULT
|
||
username: jreleaser
|
||
artifacts:
|
||
- path: apps/jreleaser-tool-provider/build/libs/jreleaser-tool-provider-{{projectVersion}}.jar
|
||
transform: 'jreleaser-tool-provider/jreleaser-tool-provider-{{projectEffectiveVersion}}.jar'
|
||
|
||
files:
|
||
artifacts:
|
||
- path: VERSION
|