mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 07:59:21 +08:00
Centralize CI build JDK, update with Renovate (#1941)
This commit is contained in:
26
.github/renovate.json5
vendored
Normal file
26
.github/renovate.json5
vendored
Normal file
@@ -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+)',
|
||||
},
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user