|
3 | 3 | "extends": [ |
4 | 4 | "github>neoforged/actions:renovate_preset" |
5 | 5 | ], |
6 | | - "baseBranches": ["main", "/^\\d+\\.x/"], |
| 6 | + "baseBranchPatterns": [ |
| 7 | + "main", |
| 8 | + "/^\\d+\\.x/" |
| 9 | + ], |
7 | 10 | "customDatasources": { |
8 | 11 | "minecraft-versions": { |
9 | 12 | "defaultRegistryUrlTemplate": "https://piston-meta.mojang.com/mc/game/version_manifest_v2.json", |
|
16 | 19 | { |
17 | 20 | "customType": "regex", |
18 | 21 | "depTypeTemplate": "generated", |
19 | | - "fileMatch": ["MinecraftVersionList\\.java$"], |
20 | | - "matchStrings": ["public static final List<String> VERSIONS = List\\.of\\(\"(?<currentValue>[\\w\\.]+)\""], |
| 22 | + "managerFilePatterns": [ |
| 23 | + "/MinecraftVersionList\\.java$/" |
| 24 | + ], |
| 25 | + "matchStrings": [ |
| 26 | + "public static final List<String> VERSIONS = List\\.of\\(\"(?<currentValue>[\\w\\.]+)\"" |
| 27 | + ], |
21 | 28 | "depNameTemplate": "minecraft-version-list", |
22 | 29 | "datasourceTemplate": "custom.minecraft-versions" |
23 | 30 | }, |
24 | 31 | { |
25 | 32 | "customType": "regex", |
26 | | - "fileMatch": [ |
27 | | - "NeoFormRuntimeExtension\\.java$" |
| 33 | + "managerFilePatterns": [ |
| 34 | + "/NeoFormRuntimeExtension\\.java$/" |
28 | 35 | ], |
29 | 36 | "depNameTemplate": "net.neoforged:neoform-runtime", |
30 | 37 | "matchStrings": [ |
|
34 | 41 | }, |
35 | 42 | { |
36 | 43 | "customType": "regex", |
37 | | - "fileMatch": [ |
38 | | - "RunUtils\\.java$" |
| 44 | + "managerFilePatterns": [ |
| 45 | + "/RunUtils\\.java$/" |
39 | 46 | ], |
40 | 47 | "matchStrings": [ |
41 | 48 | "String\\s+[A-Z_]+\\s*=\\s*\"(?<depName>[\\w:\\.-]+):(?<currentValue>[\\d\\.]+)(:(?<depClassifier>[a-z]+))?\"\\s*;\\s*\\/\\/\\s*renovate" |
|
45 | 52 | ], |
46 | 53 | "packageRules": [ |
47 | 54 | { |
48 | | - "matchDatasources": ["custom.minecraft-versions"], |
| 55 | + "matchDatasources": [ |
| 56 | + "custom.minecraft-versions" |
| 57 | + ], |
49 | 58 | "dependencyDashboardApproval": false, |
50 | | - "addLabels": ["generated-files"], |
| 59 | + "addLabels": [ |
| 60 | + "generated-files" |
| 61 | + ], |
51 | 62 | "postUpgradeTasks": { |
52 | 63 | "commands": [ |
53 | 64 | "./gradlew :generateVersionOrder :generateMojangRepositoryFilter", |
|
0 commit comments