diff --git a/src/cache-base.ts b/src/cache-base.ts index b7f3454..9fa816b 100644 --- a/src/cache-base.ts +++ b/src/cache-base.ts @@ -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 { diff --git a/src/resources/init-scripts/github-dependency-graph-gradle-plugin-0.0.3.jar b/src/resources/init-scripts/github-dependency-graph-gradle-plugin-0.0.3.jar deleted file mode 100644 index e668c92..0000000 Binary files a/src/resources/init-scripts/github-dependency-graph-gradle-plugin-0.0.3.jar and /dev/null differ diff --git a/src/resources/init-scripts/github-dependency-graph-gradle-plugin-apply.groovy b/src/resources/init-scripts/github-dependency-graph-gradle-plugin-apply.groovy index 8bfdbf4..17ee5fb 100644 --- a/src/resources/init-scripts/github-dependency-graph-gradle-plugin-apply.groovy +++ b/src/resources/init-scripts/github-dependency-graph-gradle-plugin-apply.groovy @@ -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