From bfd59990e2e4c018f157f0ec1b7b1b554c48e5b7 Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Wed, 8 Nov 2023 11:18:30 -0700 Subject: [PATCH] Configure renovate We don't want to update gson or guava to avoid breaking compatibility with old versions for now --- renovate.json | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 00000000..e5a330b5 --- /dev/null +++ b/renovate.json @@ -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:^(?\\d+)(\\.(?\\d+))?(\\.(?\\d+))?(-(?.*))?$" + }, + { + "description": "Correct Fabric API version handling", + "matchPackageNames": ["net.fabricmc.fabric-api:fabric-api", "net.fabricmc.fabric-api:fabric-api-deprecated"], + "versioning": "regex:^(?\\d+)(\\.(?\\d+))?(\\.(?\\d+))?(?:\\+(?.*))?$" + }, + { + "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): " +}