Switch back to using published plugin

This commit is contained in:
daz 2023-07-04 20:23:00 -06:00
parent d0ffeaa089
commit 820b228f28
No known key found for this signature in database
3 changed files with 4 additions and 6 deletions

View file

@ -183,11 +183,6 @@ export class GradleStateCache {
const initScriptPath = path.resolve(initScriptsDir, initScriptFilename) const initScriptPath = path.resolve(initScriptsDir, initScriptFilename)
fs.writeFileSync(initScriptPath, initScriptContent) 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 { private readInitScriptAsString(resource: string): string {

View file

@ -1,6 +1,9 @@
buildscript { buildscript {
repositories {
gradlePluginPortal()
}
dependencies { 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 apply plugin: org.gradle.github.GitHubDependencyGraphPlugin