-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change adds a couple of manifest attributes to jars, if the `release` Gradle project property is present. The attributes are: * `Nessie-Build-Git-Describe`: result of `git describe` - example: `nessie-0.72.2-4-g0ce4208995` * `Nessie-Build-Git-Head`: Git HEAD commit ID * `Nessie-Build-Java-Version`: Java version used for the build - example: `21.0.1` * `Nessie-Build-System`: result of `uname -a` * `Nessie-Build-Timestamp`: result of `date +%Y-%m-%d-%H:%M:%S%:z` - example: `2023-10-20-12:01:33+02:00` * `Nessie-Version`: version as in `version.txt`, example: `0.72.3-SNAPSHOT` Those attributes are _not_ added for non-release builds, because manifest attribtues count towards Gradle inputs, potentially rendering cached Gradle outputs unusable - i.e. every change could cause a full rebuild.
- Loading branch information
Showing
3 changed files
with
89 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters