-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Centralize CI build JDK, update with Renovate (#1596)
- Loading branch information
1 parent
ec16062
commit ab6a2d8
Showing
6 changed files
with
46 additions
and
29 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
$schema: 'https://docs.renovatebot.com/renovate-schema.json', | ||
extends: [ | ||
'config:recommended', | ||
], | ||
ignorePresets: [ | ||
// Ensure we get the latest version and are not pinned to old versions. | ||
'workarounds:javaLTSVersions', | ||
], | ||
customManagers: [ | ||
// Update .java-version file with the latest JDK version. | ||
{ | ||
customType: 'regex', | ||
fileMatch: [ | ||
'\\.java-version$', | ||
], | ||
matchStrings: [ | ||
'(?<currentValue>.*)\\n', | ||
], | ||
datasourceTemplate: 'java-version', | ||
depNameTemplate: 'java', | ||
// Only write the major version. | ||
extractVersionTemplate: '^(?<version>\\d+)', | ||
}, | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
19 |
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