mirror of
				https://github.com/gradle/gradle-build-action.git
				synced 2025-11-04 01:28:56 +08:00 
			
		
		
		
	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:
		
							
								
								
									
										18
									
								
								.github/dependabot.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								.github/dependabot.yml
									
									
									
									
										vendored
									
									
								
							@@ -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"
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
plugins {
 | 
			
		||||
    id("com.gradle.enterprise") version("3.7")
 | 
			
		||||
    id("com.gradle.enterprise") version "3.7"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
gradleEnterprise {
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										1
									
								
								__tests__/samples/no-wrapper/build.gradle
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								__tests__/samples/no-wrapper/build.gradle
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
// Required to keep dependabot happy
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
plugins {
 | 
			
		||||
    id("com.gradle.enterprise") version("3.7")
 | 
			
		||||
    id "com.gradle.enterprise"  version "3.7"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
gradleEnterprise {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user