Skip to content

Commit

Permalink
Enable dependabot
Browse files Browse the repository at this point in the history
Configure GitHub's dependabot to raise PRs to update dependencies.

Also, remove `google` repo, as it's not needed and use Gradle's `mavenCentral()` rather than hand coding.
  • Loading branch information
big-andy-coates committed Feb 1, 2024
1 parent c89b485 commit 73fd881
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 5 deletions.
27 changes: 27 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
registries:
maven-central:
type: maven-repository
url: https://repo.maven.apache.org/maven2/
jit-pack:
type: maven-repository
url: https://jitpack.io
updates:
- package-ecosystem: github-actions
directory: /
open-pull-requests-limit: 50
schedule:
interval: monthly
- package-ecosystem: gradle
directory: /
registries:
- maven-central
- jit-pack
open-pull-requests-limit: 50
schedule:
interval: monthly
6 changes: 1 addition & 5 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
allprojects {
repositories {
mavenLocal()
google()
maven {
url 'https://jitpack.io'
}
maven {
url 'https://repo.maven.apache.org/maven2'
name 'Maven Central'
}
mavenCentral()
}
}

0 comments on commit 73fd881

Please sign in to comment.