mirror of
https://github.com/gradle/actions.git
synced 2025-08-28 02:17:59 +08:00
Provide an override for the dependency-graph plugin version
This commit is contained in:
parent
3247582571
commit
177cef6d02
@ -4,12 +4,13 @@ buildscript {
|
|||||||
return System.getProperty(name) ?: System.getenv(envVarName)
|
return System.getProperty(name) ?: System.getenv(envVarName)
|
||||||
}
|
}
|
||||||
def pluginRepositoryUrl = getInputParam('gradle.plugin-repository.url') ?: 'https://plugins.gradle.org/m2'
|
def pluginRepositoryUrl = getInputParam('gradle.plugin-repository.url') ?: 'https://plugins.gradle.org/m2'
|
||||||
|
def dependencyGraphPluginVersion = getInputParam('dependency-graph-plugin.version') ?: '1.1.1'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven { url pluginRepositoryUrl }
|
maven { url pluginRepositoryUrl }
|
||||||
}
|
}
|
||||||
dependencies {
|
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
|
apply plugin: org.gradle.github.GitHubDependencyGraphPlugin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user