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
registries:
gradle-plugin-portal:
type: maven-repository
url: https://plugins.gradle.org/m2
username: dummy # Required by dependabot
password: dummy # Required by dependabot
updates:
- package-ecosystem: "npm"
directory: "/"
@ -6,3 +12,15 @@ updates:
interval: "daily"
ignore:
- 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 {
id("com.gradle.enterprise") version("3.7")
id("com.gradle.enterprise") version "3.7"
}
gradleEnterprise {

View file

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

View file

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