Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Dec 13, 2022
1 parent dec2ef5 commit 7cd2911
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 13 deletions.
15 changes: 12 additions & 3 deletions docs/modules/tools/pages/jreleaser-ant.adoc
Expand Up @@ -32,12 +32,21 @@ JReleaser must be configured using the YAML, TOML, or JSON DSLs shown at xref:co

The following settings may also be specified via environment variables

[options="header", cols="3*"]
|===
| Setting | Environment Variable | Default
| outputDir | JRELEASER_OUTPUT_DIRECTORY | out
| | JRELEASER_DEFAULT_GIT_REMOTE | origin
| Setting | Environment Variable | Default
| basedir | JRELEASER_BASEDIR | <current-execution-directory>
| outputDir | JRELEASER_OUTPUT_DIRECTORY | out
| dryrun | JRELEASER_DRY_RUN | false
| strict | JRELEASER_STRICT | false
| gitRootSearch | JRELEASER_GIT_ROOT_SEARCH | false
| selectCurrentPlatform | JRELEASER_SELECT_CURRENT_PLATFORM | false
| selectPlatforms | JRELEASER_SELECT_PLATFORM | <empty-string>
| | JRELEASER_DEFAULT_GIT_REMOTE | origin
|===

`JRELEASER_SELECT_PLATFORM` may define a command separated list of values such as `osx-x86_64,linux-x86_64`.

== Tasks

The following tasks are provided:
Expand Down
15 changes: 12 additions & 3 deletions docs/modules/tools/pages/jreleaser-cli.adoc
Expand Up @@ -43,12 +43,21 @@ Documentation found at https://jreleaser.org

The following settings may also be specified via environment variables

[options="header", cols="3*"]
|===
| Setting | Environment Variable | Default
| output-directory | JRELEASER_OUTPUT_DIRECTORY | out
| | JRELEASER_DEFAULT_GIT_REMOTE | origin
| Setting | Environment Variable | Default
| basedir | JRELEASER_BASEDIR | <current-execution-directory>
| output-directory | JRELEASER_OUTPUT_DIRECTORY | out
| dry-run | JRELEASER_DRY_RUN | false
| strict | JRELEASER_STRICT | false
| git-root-search | JRELEASER_GIT_ROOT_SEARCH | false
| select-current-platform | JRELEASER_SELECT_CURRENT_PLATFORM | false
| select-platform | JRELEASER_SELECT_PLATFORM | <empty-string>
| | JRELEASER_DEFAULT_GIT_REMOTE | origin
|===

`JRELEASER_SELECT_PLATFORM` may define a command separated list of values such as `osx-x86_64,linux-x86_64`.

== Install

[tabs]
Expand Down
17 changes: 12 additions & 5 deletions docs/modules/tools/pages/jreleaser-gradle.adoc
Expand Up @@ -22,14 +22,21 @@ configuration file may be used if the `configFile` field property is set in the

The following properties may also be set on the `jreleaser` configuration instance:

[options="header", cols="5*"]
[options="header", cols="4*"]
|===
| Name | Type | Required | Default Value | Description
| dryrun | boolean | no | false | Skips remote operations.
| gitRootSearch | boolean | no | false | Searches for the git root
| configFile | RegularFile | no | | External configuration file
| Setting | Type | Environment Variable | Default
| basedir | boolean | JRELEASER_BASEDIR | <current-execution-directory>
| dryrun | boolean | JRELEASER_DRY_RUN | false
| strict | boolean | JRELEASER_STRICT | false
| gitRootSearch | boolean | JRELEASER_GIT_ROOT_SEARCH | false
| selectCurrentPlatform | boolean | JRELEASER_SELECT_CURRENT_PLATFORM | false
| selectPlatform | String | JRELEASER_SELECT_PLATFORM | <empty-string>
| configFile | RegularFile | |
| | String | JRELEASER_DEFAULT_GIT_REMOTE | origin
|===

`JRELEASER_SELECT_PLATFORM` may define a command separated list of values such as `osx-x86_64,linux-x86_64`.

=== Defaults

The following values will be taken directly from the Gradle project and added to JReleaser's configuration when
Expand Down
13 changes: 11 additions & 2 deletions docs/modules/tools/pages/jreleaser-maven.adoc
Expand Up @@ -57,11 +57,20 @@ The value of `project.java.version` will be determined following these expressio

The following settings may also be specified via environment variables

[options="header", cols="3*"]
|===
| Setting | Environment Variable | Default
| | JRELEASER_DEFAULT_GIT_REMOTE | origin
| Setting | Environment Variable | Default
| | JRELEASER_BASEDIR | <current-execution-directory>
| <dryrun> | JRELEASER_DRY_RUN | false
| <strict> | JRELEASER_STRICT | false
| <gitRootSearch> | JRELEASER_GIT_ROOT_SEARCH | false
| <selectCurrentPlatform> | JRELEASER_SELECT_CURRENT_PLATFORM | false
| <selectPlatforms> | JRELEASER_SELECT_PLATFORM | <empty-string>
| | JRELEASER_DEFAULT_GIT_REMOTE | origin
|===

`JRELEASER_SELECT_PLATFORM` may define a command separated list of values such as `osx-x86_64,linux-x86_64`.

== Goals

None of the exposed MOJOs are bound to a specific life-cycle phase, letting you decide when and how that
Expand Down

0 comments on commit 7cd2911

Please sign in to comment.