Unverified Commit 177cef6d authored by daz's avatar daz
Browse files

Provide an override for the dependency-graph plugin version

parent 32475825
Loading
Loading
Loading
Loading
+2 −1
Changes for sources/src/resources/init-scripts/gradle-actions.github-dependency-graph-gradle-plugin-apply.groovy: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -4,12 +4,13 @@ buildscript {
      return System.getProperty(name) ?: System.getenv(envVarName)
  }
  def pluginRepositoryUrl = getInputParam('gradle.plugin-repository.url') ?: 'https://plugins.gradle.org/m2'
  def dependencyGraphPluginVersion = getInputParam('dependency-graph-plugin.version') ?: '1.1.1'

  repositories {
    maven { url pluginRepositoryUrl }
  }
  dependencies {
    classpath "org.gradle:github-dependency-graph-gradle-plugin:1.1.1"
    classpath "org.gradle:github-dependency-graph-gradle-plugin:${dependencyGraphPluginVersion}"
  }
}
apply plugin: org.gradle.github.GitHubDependencyGraphPlugin