Configure dependabot to update Gradle plugins

The test Gradle sample apps reference plugins, and it's good to keep these
updated (particularly the GE plugin).
Minor changes to the build scripts were required to satisfy Dependabot.
This commit is contained in:
Daz DeBoer 2022-03-18 06:14:07 -06:00
parent b64a252d1c
commit 92de6969aa
No known key found for this signature in database
GPG Key ID: DD6B9F0B06683D5D
4 changed files with 21 additions and 2 deletions

View File

@ -1,4 +1,10 @@
version: 2 version: 2
registries:
gradle-plugin-portal:
type: maven-repository
url: https://plugins.gradle.org/m2
username: dummy # Required by dependabot
password: dummy # Required by dependabot
updates: updates:
- package-ecosystem: "npm" - package-ecosystem: "npm"
directory: "/" directory: "/"
@ -6,3 +12,15 @@ updates:
interval: "daily" interval: "daily"
ignore: ignore:
- dependency-name: "@types/node" - dependency-name: "@types/node"
- package-ecosystem: "gradle"
directory: "__tests__/samples/kotlin-dsl"
registries:
- gradle-plugin-portal
schedule:
interval: "daily"
- package-ecosystem: "gradle"
directory: "__tests__/samples/no-wrapper"
registries:
- gradle-plugin-portal
schedule:
interval: "daily"

View File

@ -1,5 +1,5 @@
plugins { plugins {
id("com.gradle.enterprise") version("3.7") id("com.gradle.enterprise") version "3.7"
} }
gradleEnterprise { gradleEnterprise {

View File

@ -0,0 +1 @@
// Required to keep dependabot happy

View File

@ -1,5 +1,5 @@
plugins { plugins {
id("com.gradle.enterprise") version("3.7") id "com.gradle.enterprise" version "3.7"
} }
gradleEnterprise { gradleEnterprise {