Skip to content

Commit c1215f4

Browse files
authored
Update renovate configs (#185)
1 parent 0df5bff commit c1215f4

File tree

3 files changed

+89
-15
lines changed

3 files changed

+89
-15
lines changed

renovate.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

renovate.json5

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:recommended",
5+
":semanticCommitsDisabled",
6+
":label(dependencies)",
7+
":automergeStableNonMajor",
8+
":reviewer(Mr3zee)",
9+
],
10+
"packageRules": [
11+
{
12+
"description": "Update Core minor and patch dependencies in batch",
13+
"matchUpdateTypes": [
14+
"patch",
15+
"minor",
16+
],
17+
"matchPackageNames": [
18+
"*",
19+
],
20+
matchFileNames: [
21+
"!samples/**",
22+
// Samples have separate config
23+
"**/*.gradle.kts",
24+
"**/gradle.properties",
25+
"versions-root/libs.versions.toml",
26+
],
27+
"groupName": "Core dependencies (non-major)",
28+
"groupSlug": "core-non-major",
29+
},
30+
{
31+
"description": "Update Sample dependencies in batch",
32+
"matchUpdateTypes": [
33+
"patch",
34+
"minor",
35+
"minor",
36+
],
37+
"matchFileNames": [
38+
"samples/**",
39+
],
40+
"matchPackageNames": [
41+
"*",
42+
],
43+
"groupName": "Sample dependencies",
44+
"groupSlug": "sample"
45+
},
46+
{
47+
// Reason: Kotlin updates require additional work on compiler plugins
48+
"description": "Ignore Kotlin updates",
49+
"matchDepNames": [
50+
"org.jetbrains.kotlin(:|.)*",
51+
],
52+
"enabled": false,
53+
},
54+
{
55+
// Reason: May break compiler plugin tests, manual updates are just fine
56+
"description": "Ignore Intellij Platform ",
57+
"matchDepNames": [
58+
"com.jetbrains.intellij.platform*",
59+
],
60+
"enabled": false,
61+
},
62+
{
63+
// Reason: Gradle version updates may break existing configurations
64+
"description": "Ignore Gradle updates in Core",
65+
"matchFileNames": [
66+
"gradle/wrapper/gradle-wrapper.properties",
67+
],
68+
"enabled": false,
69+
},
70+
{
71+
"description": "Ignore 0.0.0 version in Kotlin-specific versions",
72+
"matchCurrentVersion": "0.0.0",
73+
"enabled": false,
74+
},
75+
]
76+
}

versions-root/libs.versions.toml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,19 @@ junit4 = "4.13.2"
1818
junit5 = "5.10.3"
1919
intellij = "213.7172.53"
2020

21-
# stub versions – relpaced based on kotlin, mostly for gradle-related (plugins) dependencies
22-
# but also for dependencies for compiler specific modules
23-
ksp = "<stub>"
24-
atomicfu = "<stub>"
25-
serialization = "<stub>"
26-
detekt-gradle-plugin = "<stub>"
27-
gradle-kotlin-dsl = "<stub>"
28-
binary-compatibility-validator = "<stub>"
29-
kover = "<stub>"
21+
# Stub versions – relpaced based on kotlin, mostly for gradle-related (plugins) dependencies
22+
# but also for dependencies for compiler-specific modules.
23+
#
24+
# The current version is the one that is used with the latest Kotlin.
25+
#
26+
# NOTE: When updating kotlin-versions-lookup.csv, update renovate configs for the latest version here
27+
ksp = "0.0.0"
28+
atomicfu = "0.22.0"
29+
serialization = "1.6.1"
30+
detekt-gradle-plugin = "1.23.6"
31+
gradle-kotlin-dsl = "4.3.0"
32+
binary-compatibility-validator = "0.14.0"
33+
kover = "0.8.0"
3034

3135
[libraries]
3236
# kotlinx.rpc – references to the included builds

0 commit comments

Comments
 (0)