Skip to content

Commit 3515aba

Browse files
authored
Group dependabot updates for some gradle dependencies (#8100)
After #8048 I was expecting dependabot to update all packages given a particular dependency bump, but that doesn't seem to be happening. For example #8097 only updated shared_preferences_android. So let's try adding [`groups`](https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#groups) to see if that does it. Group some dependencies together. Fixes flutter/flutter#148098
1 parent a165b43 commit 3515aba

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,20 @@ updates:
105105
open-pull-requests-limit: 10
106106
labels:
107107
- "autosubmit"
108+
groups:
109+
test-dependencies:
110+
patterns:
111+
- "androidx.test:*"
112+
- "io.mockk:mockk:*"
113+
- "junit:junit"
114+
- "org.mockito:*"
115+
- "org.robolectric:*"
116+
gradle-plugin:
117+
patterns:
118+
- "org.jetbrains.kotlin:kotlin-gradle-plugin"
119+
androidx:
120+
patterns:
121+
- "androidx.annotation:annotation"
108122
ignore:
109123
- dependency-name: "com.android.tools.build:gradle"
110124
update-types: ["version-update:semver-minor", "version-update:semver-patch"]

0 commit comments

Comments
 (0)