Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update renovate configs #185

Merged
merged 1 commit into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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