Skip to content

Commit

Permalink
Merged 1.0.x branch for plugins and non-plugins
Browse files Browse the repository at this point in the history
I have no other idea how to make this work with dependabot. The difference is now that for 1.0.x branch we will be checking dependencies for plugins and upgrade them only by a patch, whereas before we would update the plugins by any value and we would check it for it weekly. Also previously we would use the gradle plugin portal to update only the com.gradle dependencies. With this change that constraint is removed
  • Loading branch information
marcingrzejszczak committed Sep 19, 2023
1 parent 578131e commit df5d559
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,12 @@ registries:
url: https://plugins.gradle.org/m2
username: dummy # Required by dependabot
password: dummy # Required by dependabot
maven-central:
type: maven-repository
url: https://repo1.maven.org/maven2/
username: dummy # Required by dependabot
password: dummy # Required by dependabot
updates:
- package-ecosystem: "gradle"
directory: "/"
target-branch: "1.0.x" # oldest OSS supported branch
allow:
- dependency-name: "com.gradle*"
registries:
- gradle-plugin-portal
schedule:
interval: "weekly"
open-pull-requests-limit: 10
- package-ecosystem: "github-actions"
directory: "/"
target-branch: "1.0.x" # oldest OSS supported branch
Expand All @@ -32,6 +27,9 @@ updates:
update-types:
- version-update:semver-major
- version-update:semver-minor
registries:
- gradle-plugin-portal
- maven-central
- package-ecosystem: gradle
directory: /
schedule:
Expand Down

0 comments on commit df5d559

Please sign in to comment.