-
Notifications
You must be signed in to change notification settings - Fork 0
/
group.json5
493 lines (493 loc) · 15.5 KB
/
group.json5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
"all": {
extends: [
"group:monorepos",
"group:recommended",
"github>TWiStErRob/renovate-config:group.json5/twisterrob-gradle",
"github>TWiStErRob/renovate-config:group.json5/github-artifacts",
"github>TWiStErRob/renovate-config:group.json5/github-pages",
"github>TWiStErRob/renovate-config:group.json5/kotlin",
"github>TWiStErRob/renovate-config:group.json5/ktor",
"github>TWiStErRob/renovate-config:group.json5/detekt",
"github>TWiStErRob/renovate-config:group.json5/agp",
"github>TWiStErRob/renovate-config:group.json5/androidx",
"github>TWiStErRob/renovate-config:group.json5/androidx-test",
"github>TWiStErRob/renovate-config:group.json5/mockito",
"github>TWiStErRob/renovate-config:group.json5/neo4j",
"github>TWiStErRob/renovate-config:group.json5/log4j2",
"github>TWiStErRob/renovate-config:group.json5/jackson",
"github>TWiStErRob/renovate-config:group.json5/retrofit1",
"github>TWiStErRob/renovate-config:group.json5/retrofit2",
"github>TWiStErRob/renovate-config:group.json5/okhttp1_2",
"github>TWiStErRob/renovate-config:group.json5/okhttp3",
"github>TWiStErRob/renovate-config:group.json5/okio",
"github>TWiStErRob/renovate-config:group.json5/notion",
"github>TWiStErRob/renovate-config:group.json5/mkdocs",
],
},
"twisterrob-gradle": {
packageRules: [
{
groupName: "TWiStErRob Gradle",
description: "Group together all dependencies from the net.twisterrob.gradle monorepo.",
matchPackageNames: [
"net.twisterrob.gradle:*",
"net.twisterrob.gradle.plugin.*",
],
},
],
},
"github-artifacts": {
packageRules: [
{
groupName: "actions/upload-artifact and actions/download-artifact",
description: "Artifact management is coupled in GitHub Actions. https://github.blog/changelog/2023-12-14-github-actions-artifacts-v4-is-now-generally-available/",
matchManagers: ["github-actions"],
matchPackageNames: [
"actions/upload-artifact",
"actions/download-artifact",
],
separateMultipleMajor: false,
},
],
},
"github-pages": {
packageRules: [
{
groupName: "actions/github-pages",
description: "GitHub Pages actions are coupled in GitHub Actions.",
matchManagers: ["github-actions"],
matchPackageNames: [
"actions/configure-pages",
"actions/upload-pages-artifact",
"actions/deploy-pages",
],
separateMultipleMajor: false,
},
],
},
"kotlin": {
packageRules: [
{
groupName: "Kotlin",
description: "Group together all dependencies and plugins from Kotlin, Dokka and KotlinX, including coroutines.",
matchPackageNames: [
"org.jetbrains.kotlin:kotlin-*",
"org.jetbrains.kotlin.*:org.jetbrains.kotlin.*.gradle.plugin",
"org.jetbrains.kotlin:kotlin-gradle-plugin",
],
separateMajorMinor: true,
separateMultipleMajor: true,
separateMinorPatch: true,
},
{
groupName: "Kotlin",
description: "Group together all dependencies and plugins from Kotlin, Dokka and KotlinX, including coroutines.",
matchDepNames: [
"org.jetbrains.kotlin.android",
"org.jetbrains.kotlin.android.extensions",
"org.jetbrains.kotlin.js",
"org.jetbrains.kotlin.jvm",
"org.jetbrains.kotlin.kapt",
"org.jetbrains.kotlin.multiplatform",
"org.jetbrains.kotlin.native.cocoapods",
"org.jetbrains.kotlin.native.performance",
"org.jetbrains.kotlin.platform.android",
"org.jetbrains.kotlin.platform.common",
"org.jetbrains.kotlin.platform.js",
"org.jetbrains.kotlin.platform.jvm",
"org.jetbrains.kotlin.plugin.parcelize",
"org.jetbrains.kotlin.plugin.scripting",
// New in 2.0.0 @ org.jetbrains.kotlin:compose-compiler-gradle-plugin.
"org.jetbrains.kotlin.plugin.compose",
],
separateMajorMinor: true,
separateMultipleMajor: true,
separateMinorPatch: true,
},
{
// Note: this is a separate rule, because of the too generic un-prefixed dep names.
// Combining with manager and sourceUrl matchers to restrict the scope.
groupName: "Kotlin",
description: "Group together all dependencies and plugins from Kotlin, Dokka and KotlinX, including coroutines.",
matchManagers: ["gradle"],
matchSourceUrls: ["https://github.com/JetBrains/kotlin"],
matchDepNames: [
"kotlin", // => org.jetbrains.kotlin.jvm
"kotlin-android", // => org.jetbrains.kotlin.android
"kotlin-android-extensions", // => org.jetbrains.kotlin.android.extensions
// New in 2.0.0 @ org.jetbrains.kotlin:compose-compiler-gradle-plugin.
"kotlin-composecompiler", // => org.jetbrains.kotlin.plugin.compose
"kotlin-kapt", // => org.jetbrains.kotlin.kapt
"kotlin-multiplatform", // => org.jetbrains.kotlin.multiplatform
"kotlin-native-cocoapods", // => org.jetbrains.kotlin.native.cocoapods
"kotlin-native-performance", // => org.jetbrains.kotlin.native.performance
"kotlin-parcelize", // => org.jetbrains.kotlin.plugin.parcelize
"kotlin-platform-android", // => org.jetbrains.kotlin.platform.android
"kotlin-platform-common", // => org.jetbrains.kotlin.platform.common
"kotlin-platform-js", // => org.jetbrains.kotlin.platform.js
"kotlin-platform-jvm", // => org.jetbrains.kotlin.platform.jvm
"kotlin-scripting", // => org.jetbrains.kotlin.plugin.scripting
// Removed in 1.7.0 https://youtrack.jetbrains.com/issue/KT-48276.
"kotlin2js",
// Removed in 1.7.0 https://youtrack.jetbrains.com/issue/KT-48276.
"kotlin-dce-js",
],
separateMajorMinor: true,
separateMultipleMajor: true,
separateMinorPatch: true
},
{
groupName: "Kotlin",
description: "Group together all dependencies and plugins from Kotlin, Dokka and KotlinX, including coroutines.",
matchSourceUrls: [
"https://github.com/JetBrains/kotlin",
],
separateMajorMinor: true,
separateMultipleMajor: true,
separateMinorPatch: true,
},
{
// This is now obsolete, because of https://android-developers.googleblog.com/2024/04/jetpack-compose-compiler-moving-to-kotlin-repository.html
groupName: "Kotlin",
description: "Group together all dependencies from KSP into Kotlin. This is required because KSP depends on Kotlin internals.",
matchDepNames: [
"com.google.devtools.ksp",
],
separateMajorMinor: true,
separateMultipleMajor: true,
separateMinorPatch: true,
},
{
// This is now obsolete, because of https://android-developers.googleblog.com/2024/04/jetpack-compose-compiler-moving-to-kotlin-repository.html
groupName: "Kotlin",
description: "Group together all dependencies from KSP into Kotlin. This is required because KSP depends on Kotlin internals.",
matchPackageNames: [
"com.google.devtools.ksp:*",
"com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin",
],
separateMajorMinor: true,
separateMultipleMajor: true,
separateMinorPatch: true,
},
],
},
"ktor": {
packageRules: [
{
groupName: "ktor.io monorepo",
description: "Group together all dependencies of ktor.",
matchSourceUrls: [
"https://github.com/ktorio/ktor",
],
},
],
},
"detekt": {
packageRules: [
{
groupName: "Detekt monorepo",
description: "Group together all dependencies of Detekt.",
matchDepNames: [
"io.gitlab.arturbosch.detekt",
],
},
{
groupName: "Detekt monorepo",
description: "Group together all dependencies of Detekt.",
matchPackageNames: [
"io.gitlab.arturbosch.detekt:*",
"io.gitlab.arturbosch.detekt:detekt-gradle-plugin",
"io.gitlab.arturbosch.detekt:io.gitlab.arturbosch.detekt.gradle.plugin",
],
},
{
groupName: "Detekt monorepo",
description: "Group together all dependencies of Detekt.",
matchSourceUrls: [
"https://github.com/detekt/detekt",
],
},
],
},
"agp": {
packageRules: [
{
groupName: "Android Gradle Plugin",
description: "Group together all dependencies and plugin aliases from AGP.",
matchDepNames: [
"com.android.application",
"com.android.asset-pack",
"com.android.asset-pack-bundle",
"com.android.base",
"com.android.dynamic-feature",
"com.android.fused-library",
"com.android.internal.application",
"com.android.internal.asset-pack",
"com.android.internal.asset-pack-bundle",
"com.android.internal.dynamic-feature",
"com.android.internal.fused-library",
"com.android.internal.library",
"com.android.internal.reporting",
"com.android.internal.test",
"com.android.internal.version-check",
"com.android.library",
"com.android.lint",
"com.android.reporting",
"com.android.test",
],
separateMajorMinor: true,
separateMultipleMajor: true,
separateMinorPatch: true,
},
{
groupName: "Android Gradle Plugin",
description: "Group together all dependencies and plugin aliases from AGP.",
matchPackageNames: [
// This is the main entry point, so listing it for documentation.
"com.android.tools.build:gradle",
// There's a lot, see https://maven.google.com/web/index.html?q=com.android.tools .
// Manually removed the ones that don't have the Build Tools monorepo versioning.
"com.android.tools:*",
"com.android.tools.build:*",
"com.android.tools.lint:*",
"com.android.tools.analytics-library:*",
"com.android.tools.apkparser:*",
"com.android.tools.chunkio:*",
"com.android.tools.ddms:*",
"com.android.tools.emulator:*",
"com.android.tools.external.com-intellij:*",
"com.android.tools.external.org-jetbrains:*",
"com.android.tools.fakeadbserver:*",
"com.android.tools.layoutlib:layoutlib-api",
"com.android.tools.pixelprobe:*",
"com.android.tools.utp:*",
],
separateMajorMinor: true,
separateMultipleMajor: true,
separateMinorPatch: true,
},
{
// Note: this is a separate rule, because of the too generic un-prefixed dep names.
// Combining with manager and sourceUrl matchers to restrict the scope.
groupName: "Android Gradle Plugin",
description: "Group together all dependencies and plugin aliases from AGP.",
matchManagers: ["gradle"],
matchSourceUrls: ["https://android.googlesource.com/platform/tools/base"],
matchDepNames: [
"android", // => com.android.application
"android-library", // => com.android.library
"android-reporting", // => com.android.reporting
],
separateMajorMinor: true,
separateMultipleMajor: true,
separateMinorPatch: true,
},
],
},
"androidx": {
packageRules: [
{
groupName: "AndroidX Monorepo",
description: "Group together all dependencies from AndroidX.",
matchPackageNames: [
"androidx.*",
],
},
],
},
"androidx-test": {
packageRules: [
{
groupName: "AndroidX Test Monorepo",
description: "Group together all dependencies from AndroidX Test (Espresso).",
matchPackageNames: [
"androidx.test:*",
"androidx.test.espresso:*",
],
},
],
},
"mockito": {
packageRules: [
{
groupName: "mockito monorepo",
description: "Add nhaarman dependency to builtin 'mockito monorepo' group.",
matchPackageNames: [
"org.mockito.kotlin:mockito-kotlin",
"com.nhaarman.mockitokotlin2:mockito-kotlin",
"com.nhaarman:mockito-kotlin",
],
},
],
},
"neo4j": {
packageRules: [
{
groupName: "Neo4J monorepo",
description: "Group together all dependencies from Neo4J and OGM",
matchPackageNames: [
"org.neo4j:neo4j",
"org.neo4j:neo4j-ogm-*",
"org.neo4j.*:neo4j-*",
],
separateMajorMinor: true,
separateMultipleMajor: true,
separateMinorPatch: true,
},
{
groupName: "Neo4J monorepo",
description: "Group together all dependencies from Neo4J and OGM",
matchSourceUrls: [
"https://github.com/neo4j",
],
separateMajorMinor: true,
separateMultipleMajor: true,
separateMinorPatch: true,
},
],
},
"log4j2": {
packageRules: [
{
groupName: "Log4j 2 monorepo",
description: "Group together all dependencies from Log4J 2",
matchPackageNames: [
"org.apache.logging.log4j:*",
],
},
],
},
"jackson": {
packageRules: [
{
groupName: "Jackson monorepo",
description: "Group together all dependencies of Jackson.",
matchPackageNames: [
"com.fasterxml.jackson.*",
],
},
{
groupName: "Jackson monorepo",
description: "Group together all dependencies of Jackson.",
matchSourceUrls: [
"https://github.com/FasterXML/jackson-*",
],
},
],
},
"retrofit1": {
packageRules: [
{
groupName: "Retrofit monorepo",
description: "Group together all dependencies of Retrofit 1.x.",
matchPackageNames: [
"com.squareup.retrofit:*",
],
},
{
description: "Disable updating the Retrofit 1.x packages to 2.x, the package has been relocated for v2.",
matchPackageNames: [
"com.squareup.retrofit:*",
],
"matchNewValue": "2.*",
"enabled": false,
},
// Cannot have matchSourceUrls: [ "https://github.com/square/retrofit" ],
// because different versions existed in the same repository.
],
},
"retrofit2": {
packageRules: [
{
groupName: "Retrofit 2 monorepo",
description: "Group together all dependencies of Retrofit 2.x.",
matchPackageNames: [
"com.squareup.retrofit2:*",
],
},
// Cannot have matchSourceUrls: [ "https://github.com/square/retrofit" ],
// because different versions existed in the same repository.
],
},
"okhttp1_2": {
packageRules: [
{
groupName: "OkHttp monorepo",
description: "Group together all dependencies of OkHttp.",
matchPackageNames: [
"com.squareup.okhttp:*",
],
},
// Cannot have matchSourceUrls: [ "https://github.com/square/okhttp" ],
// because different versions existed in the same repository.
],
},
"okhttp3": {
packageRules: [
{
// OkHttp 3 4.x exists, this is because it's functionally equivalent.
// Major change only exists to signify binary-compatible full Kotlin rewrite.
groupName: "OkHttp 3 monorepo",
description: "Group together all dependencies of OkHttp 3.",
matchPackageNames: [
"com.squareup.okhttp3:*",
],
},
// Cannot have matchSourceUrls: [ "https://github.com/square/okhttp" ],
// because different versions existed in the same repository.
],
},
"okio": {
packageRules: [
{
groupName: "Okio monorepo",
description: "Group together all dependencies of Okio.",
matchPackageNames: [
"com.squareup.okio:*",
],
},
{
groupName: "Okio monorepo",
description: "Group together all dependencies of Okio.",
matchSourceUrls: [
"https://github.com/square/okio",
],
},
],
},
"notion": {
packageRules: [
{
groupName: "Notion SDK JVM",
description: "Group together all dependencies of Seratch's Notion SDK.",
matchPackageNames: [
"com.github.seratch:notion-sdk-jvm-*",
],
},
{
groupName: "Notion SDK JVM",
description: "Group together all dependencies of Seratch's Notion SDK.",
matchSourceUrls: [
"https://github.com/seratch/notion-sdk-jvm",
],
},
],
},
"mkdocs": {
packageRules: [
{
groupName: "mkdocs",
description: "Group together coupled dependencies of mkdocs. They use semver, but require a specific minor version (mkdocs 1.6.0) in a patch release (mkdocs-material 9.5.19).",
matchPackageNames: [
"mkdocs",
"mkdocs-material",
],
separateMinorPatch: false,
separateMajorMinor: false,
separateMultipleMajor: false,
},
],
},
}