mirror of
				https://github.com/gradle/gradle-build-action.git
				synced 2025-11-04 09:58:56 +08:00 
			
		
		
		
	Switch back to using published plugin
This commit is contained in:
		@@ -183,11 +183,6 @@ export class GradleStateCache {
 | 
			
		||||
            const initScriptPath = path.resolve(initScriptsDir, initScriptFilename)
 | 
			
		||||
            fs.writeFileSync(initScriptPath, initScriptContent)
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        // TODO:DAZ Remove this when we use a real dependency again
 | 
			
		||||
        const depGraphJar = 'github-dependency-graph-gradle-plugin-0.0.3.jar'
 | 
			
		||||
        const jarFile = path.resolve(__dirname, '..', '..', 'src', 'resources', 'init-scripts', depGraphJar)
 | 
			
		||||
        fs.copyFileSync(jarFile, path.resolve(initScriptsDir, depGraphJar))
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private readInitScriptAsString(resource: string): string {
 | 
			
		||||
 
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							@@ -1,6 +1,9 @@
 | 
			
		||||
buildscript {
 | 
			
		||||
  repositories {
 | 
			
		||||
    gradlePluginPortal()
 | 
			
		||||
  }
 | 
			
		||||
  dependencies {
 | 
			
		||||
    classpath files("github-dependency-graph-gradle-plugin-0.0.3.jar")
 | 
			
		||||
    classpath "org.gradle:github-dependency-graph-gradle-plugin:0.0.3"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
apply plugin: org.gradle.github.GitHubDependencyGraphPlugin
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user