Skip to content

Commit

Permalink
Configure renovate
Browse files Browse the repository at this point in the history
We don't want to update gson or guava to avoid breaking compatibility with old versions for now
  • Loading branch information
jpenilla committed Nov 8, 2023
1 parent 7c33588 commit bfd5999
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"ignoreDeps": [
"quiet-fabric-loom",
"com.mojang:minecraft",
"com.google.code.gson:gson",
"com.google.guava:guava"
],
"labels": [
"dependencies"
],
"packageRules": [
{
"description": "Correct Guava version handling",
"matchPackagePrefixes": ["com.google.guava:"],
"versioning": "regex:^(?<major>\\d+)(\\.(?<minor>\\d+))?(\\.(?<patch>\\d+))?(-(?<compatibility>.*))?$"
},
{
"description": "Correct Fabric API version handling",
"matchPackageNames": ["net.fabricmc.fabric-api:fabric-api", "net.fabricmc.fabric-api:fabric-api-deprecated"],
"versioning": "regex:^(?<major>\\d+)(\\.(?<minor>\\d+))?(\\.(?<patch>\\d+))?(?:\\+(?<compatibility>.*))?$"
},
{
"matchManagers": ["github-actions", "gradle-wrapper"],
"groupName": "gradle and github actions"
},
{
"matchDepTypes": ["plugin"],
"groupName": "gradle and github actions"
},
{
"matchPaths": ["build-logic/*", "buildSrc/*"],
"groupName": "gradle and github actions"
}
],
"semanticCommitType": "build",
"commitMessagePrefix": "chore(deps): "
}

0 comments on commit bfd5999

Please sign in to comment.