mirror of
https://github.com/JakeWharton/timber.git
synced 2026-03-26 04:42:05 +00:00
35 lines
715 B
Plaintext
35 lines
715 B
Plaintext
{
|
|
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
|
|
extends: [
|
|
'config:recommended',
|
|
],
|
|
packageRules: [
|
|
{
|
|
groupName: 'AGP',
|
|
matchPackagePatterns: [
|
|
'com.android.tools.*',
|
|
],
|
|
},
|
|
],
|
|
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+)',
|
|
},
|
|
],
|
|
}
|