Unverified Commit 820b228f authored by daz's avatar daz
Browse files

Switch back to using published plugin

parent d0ffeaa0
Loading
Loading
Loading
Loading
−5
Changes for src/cache-base.ts: 0 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -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 {
−4.52 MiB

File deleted.

+4 −1
Changes for src/resources/init-scripts/github-dependency-graph-gradle-plugin-apply.groovy: 4 added lines, 1 removed line.
Original line number Diff line number Diff line
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