mirror of
https://github.com/fankes/moshi.git
synced 2025-10-18 23:49:21 +08:00
27 lines
657 B
Plaintext
27 lines
657 B
Plaintext
{
|
|
$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+)',
|
|
},
|
|
]
|
|
}
|