Skip to content

Commit

Permalink
Update renovate configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr3zee committed Sep 9, 2024
1 parent dcecbcb commit 9c87267
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 15 deletions.
6 changes: 0 additions & 6 deletions renovate.json

This file was deleted.

76 changes: 76 additions & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":semanticCommitsDisabled",
":label(dependencies)",
":automergeStableNonMajor",
":reviewer(Mr3zee)",
],
"packageRules": [
{
"description": "Update Core minor and patch dependencies in batch",
"matchUpdateTypes": [
"patch",
"minor",
],
"matchPackageNames": [
"*",
],
matchFileNames: [
"!samples/**",
// Samples have separate config
"**/*.gradle.kts",
"**/gradle.properties",
"versions-root/libs.versions.toml",
],
"groupName": "Core dependencies (non-major)",
"groupSlug": "core-non-major",
},
{
"description": "Update Sample dependencies in batch",
"matchUpdateTypes": [
"patch",
"minor",
"minor",
],
"matchFileNames": [
"samples/**",
],
"matchPackageNames": [
"*",
],
"groupName": "Sample dependencies",
"groupSlug": "sample"
},
{
// Reason: Kotlin updates require additional work on compiler plugins
"description": "Ignore Kotlin updates",
"matchDepNames": [
"org.jetbrains.kotlin(:|.)*",
],
"enabled": false,
},
{
// Reason: May break compiler plugin tests, manual updates are just fine
"description": "Ignore Intellij Platform ",
"matchDepNames": [
"com.jetbrains.intellij.platform*",
],
"enabled": false,
},
{
// Reason: Gradle version updates may break existing configurations
"description": "Ignore Gradle updates in Core",
"matchFileNames": [
"gradle/wrapper/gradle-wrapper.properties",
],
"enabled": false,
},
{
"description": "Ignore 0.0.0 version in Kotlin-specific versions",
"matchCurrentVersion": "0.0.0",
"enabled": false,
},
]
}
22 changes: 13 additions & 9 deletions versions-root/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,19 @@ junit4 = "4.13.2"
junit5 = "5.10.3"
intellij = "213.7172.53"

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

[libraries]
# kotlinx.rpc – references to the included builds
Expand Down

0 comments on commit 9c87267

Please sign in to comment.