From 73fd881cc0c45bdc9dbab4c3b2a292e916aa61d7 Mon Sep 17 00:00:00 2001 From: Big Andy <8012398+big-andy-coates@users.noreply.github.com> Date: Thu, 1 Feb 2024 13:56:51 +0000 Subject: [PATCH] Enable dependabot 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. --- .github/dependabot.yml | 27 +++++++++++++++++++++++++++ build.gradle | 6 +----- 2 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..8c00f73f --- /dev/null +++ b/.github/dependabot.yml @@ -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 diff --git a/build.gradle b/build.gradle index 8ac73d58..6f0fa9e6 100644 --- a/build.gradle +++ b/build.gradle @@ -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() } }