Setup KBean¶
Provides convenient methods to perform global configuration tasks as editing global.properties file or updating embedded jeka boot scripts.
Provides convenient methods to perform global configuration tasks as editing global.properties file or updating embedded jeka boot scripts.
Provides convenient methods to perform global configuration tasks as editing global.properties file or updating embedded jeka boot scripts.
This KBean exposes the following fields:
Field | Description |
---|---|
content [String] | Argument for 'addGlobalProp' and 'installApp' methods. |
name [String] | Argument for the 'removeApp' method. |
This KBean exposes the following methods:
Method | Description |
---|---|
addShorthand | Adds a shorthand to the global properties file. Provide it as 'content=[shorthand-name]=[shorthand content] E.g. 'jeka operations: addShorthand content=build=project: pack sonarqube: run'. |
editGlobalProps | Edits the global.properties file. |
openHomeDir | Opens a file explorer window in the JeKA user home directory. |
updateLocalScripts | Creates or updates jeka.ps1 and jeka bash scripts in the current directory. Uses the running JeKa version to set the script version. |