Build Properties
A number of properties affect the build. They can be provided via Gradle or Java system property. They can also be injected from the environment by converting to uppercase and replacing dots by underscores. Many of these are automatically injected when running on Gitlab
Property |
Description |
Injected in CI? |
Local Build? |
|
The URL where generated documentation is located |
Y |
Only when generating final documentation |
|
The Gitlab Project URL. |
Y |
For documentation building for a real URL is required. |
|
The Gitlab Project Path. |
Y |
- |
|
The Gitlab server URL |
N |
This is used in tests to override the Gitlab server and point it to a mock server. |
|
The Discord invitation URL |
Y |
Only if a correct URL is required. A non-resolvable URL is otherwise injected. |
|
A read/write token for accessing the Gitlab API . |
Y |
Only when running |
|
The name of the user that interacts with Gitlab. |
Y |
Only when running |
|
The key for signing artifacts that will be pushed to Sonatype’s OSSRH |
Y |
Only needed when publishing locally, do |
|
The key for signing artifacts that will be pushed to Sonatype’s OSSRH |
Y |
Only needed when publishing locally, do |
|
The Mastodon access token |
Y |
When testing announcement against Mastodon, this is required. |
|
The Mastodon server to send announcements to. It defaults to |
N |
Not needed, as there is a default value. Only supply when testing against another Mastodon account. |
|
The Gitlab access token for writing to a repository |
Y |
Required for all Git publishing operations. |