Skip to content

Commit

Permalink
build(renovatebot): update config
Browse files Browse the repository at this point in the history
  • Loading branch information
zero88 committed Aug 5, 2024
1 parent 2399a74 commit bfb9335
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ insert_final_newline = true
indent_style = space
indent_size = 4

[*.{json, yml, yaml}]
[*.{json,json5,yml,yaml,md}]
indent_size = 2

[*.{bat, ps1}]
[*.{bat,ps1}]
end_of_line = crlf
6 changes: 0 additions & 6 deletions renovate.json

This file was deleted.

27 changes: 27 additions & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"separateMajorMinor": true,
"separateMultipleMajor": true,
"separateMinorPatch": true,
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^\\.sdkmanrc$"],
"matchStrings": ["java=(?<currentValue>.*)-tem\\n"],
"datasourceTemplate": "java-version",
"depNameTemplate": "java",
"versioningTemplate": "regex:^(?<major>\\d+)(\\.(?<minor>\\d+))(\\.(?<patch>\\d+))$",
"autoReplaceStringTemplate": "java={{{newMajor}}}.{{{newMinor}}}.{{{newPatch}}}-tem"
},
{
"customType": "regex",
"fileMatch": ["^\\.sdkmanrc$"],
"matchStrings": ["gradle=(?<currentValue>.*)\\n"],
"datasourceTemplate": "gradle-version",
"depNameTemplate": "gradle"
}
]
}

0 comments on commit bfb9335

Please sign in to comment.