Skip to content

Commit

Permalink
Configure dependabot to update Gradle plugins
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bigdaz committed Mar 18, 2022
1 parent b64a252 commit 92de696
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
18 changes: 18 additions & 0 deletions .github/dependabot.yml
@@ -1,8 +1,26 @@
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: "/"
schedule:
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"
2 changes: 1 addition & 1 deletion __tests__/samples/kotlin-dsl/settings.gradle.kts
@@ -1,5 +1,5 @@
plugins {
id("com.gradle.enterprise") version("3.7")
id("com.gradle.enterprise") version "3.7"
}

gradleEnterprise {
Expand Down
1 change: 1 addition & 0 deletions __tests__/samples/no-wrapper/build.gradle
@@ -0,0 +1 @@
// Required to keep dependabot happy
2 changes: 1 addition & 1 deletion __tests__/samples/no-wrapper/settings.gradle
@@ -1,5 +1,5 @@
plugins {
id("com.gradle.enterprise") version("3.7")
id "com.gradle.enterprise" version "3.7"
}

gradleEnterprise {
Expand Down

0 comments on commit 92de696

Please sign in to comment.