Skip to content

Commit b6c28f2

Browse files
Migrate config .github/renovate.json5
1 parent 4f5c509 commit b6c28f2

File tree

1 file changed

+32
-25
lines changed

1 file changed

+32
-25
lines changed

.github/renovate.json5

Lines changed: 32 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,46 @@
11
{
2-
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
2+
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
33
extends: [
4-
"config:recommended"
4+
'config:recommended',
5+
],
6+
ignorePaths: [
7+
'spock-*/**',
58
],
6-
// Don't manage versions in spock modules
7-
// we want to keep low versions for baseline compatibility
8-
ignorePaths: ["spock-*/**"],
99
packageRules: [
10-
// Disable major version upgrades for Groovy versions
11-
// as we want to keep one for each major version.
12-
// The same applies for mockito as we test with both 4 and 5
1310
{
14-
matchPackagePrefixes: ["org.codehaus.groovy:"],
15-
matchCurrentValue: "/^2\\./",
16-
allowedVersions: "(,3.0)"
11+
matchCurrentValue: '/^2\\./',
12+
allowedVersions: '(,3.0)',
13+
matchPackageNames: [
14+
'org.codehaus.groovy:{/,}**',
15+
],
1716
},
1817
{
19-
matchPackagePrefixes: ["org.apache.groovy:"],
20-
matchCurrentValue: "/^4\\./",
21-
allowedVersions: "(,5.0)"
18+
matchCurrentValue: '/^4\\./',
19+
allowedVersions: '(,5.0)',
20+
matchPackageNames: [
21+
'org.apache.groovy:{/,}**',
22+
],
2223
},
2324
{
24-
matchPackagePrefixes: ["org.mockito:"],
25-
matchCurrentValue: "/^4\\./",
26-
allowedVersions: "(,5.0)"
25+
matchCurrentValue: '/^4\\./',
26+
allowedVersions: '(,5.0)',
27+
matchPackageNames: [
28+
'org.mockito:{/,}**',
29+
],
2730
},
2831
{
29-
matchPackagePrefixes: ["org.spockframework:spock-"],
30-
matchCurrentVersion: "/-groovy-3\\.0$/",
31-
allowedVersions: "/-groovy-3\\.0$/"
32+
matchCurrentVersion: '/-groovy-3\\.0$/',
33+
allowedVersions: '/-groovy-3\\.0$/',
34+
matchPackageNames: [
35+
'org.spockframework:spock-{/,}**',
36+
],
3237
},
3338
{
34-
matchPackagePrefixes: ["org.spockframework:spock-"],
35-
matchCurrentVersion: "/-groovy-4\\.0$/",
36-
allowedVersions: "/-groovy-4\\.0$/"
37-
}
38-
]
39+
matchCurrentVersion: '/-groovy-4\\.0$/',
40+
allowedVersions: '/-groovy-4\\.0$/',
41+
matchPackageNames: [
42+
'org.spockframework:spock-{/,}**',
43+
],
44+
},
45+
],
3946
}

0 commit comments

Comments
 (0)