File tree Expand file tree Collapse file tree 7 files changed +11
-7
lines changed
plugin-test/src/test/groovy/org/gradle/github/dependencygraph
plugin/src/main/kotlin/org/gradle/github/dependencygraph/internal Expand file tree Collapse file tree 7 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 7777 uses : actions/upload-artifact@v3
7878 with :
7979 name : plugin-json
80- path : build/reports/github-dependency-report/github-dependency-manifest.json
80+ path : build/reports/github-dependency-graph-plugin/github-dependency-snapshot.json
81+ if-no-files-found : error
8182
Original file line number Diff line number Diff line change 44./gradlew :plugin:publishPluginMavenPublicationToLocalPluginsRepository
55
66# Invoke a build extracting the GitHub Dependency Graph
7- ./gradlew --no-configuration-cache --no-build-cache -I plugin-self-test.init.gradle --console=plain $*
7+ ./gradlew --no-configuration-cache --no-build-cache -I plugin-self-test.init.gradle $*
88
99if [[ -z " ${GITHUB_TOKEN} " ]]; then
1010 echo " GITHUB_TOKEN must be set in order to submit dependency graph"
1616 -H " Authorization: Bearer $GITHUB_TOKEN " \
1717 -H " X-GitHub-Api-Version: 2022-11-28" \
1818 https://api.github.com/repos/gradle/github-dependency-extractor/dependency-graph/snapshots \
19- -d @build/reports/github-dependency-report /github-dependency-manifest .json
19+ -d @build/reports/github-dependency-graph-plugin /github-dependency-snapshot .json
2020fi
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ initscript {
66 }
77 }
88 dependencies {
9- classpath " org.gradle:github-dependency-graph-gradle-plugin:0.0.1 "
9+ classpath " org.gradle:github-dependency-graph-gradle-plugin:+ "
1010 }
1111}
1212apply plugin : GitHubDependencyGraphPlugin
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ abstract class BaseExtractorTest extends Specification {
5050 SimpleGradleExecuter createExecuter () {
5151 // Create a new JsonManifestLoader for each invocation of the executer
5252 File manifestFile =
53- testDirectory. file(" build/reports/github-dependency-report /github-dependency-manifest .json" )
53+ testDirectory. file(" build/reports/github-dependency-graph-plugin /github-dependency-snapshot .json" )
5454 loader = new JsonRepositorySnapshotLoader (manifestFile)
5555 return createExecuter(testGradleVersion)
5656 }
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ private constructor(
2020 manifestFile.parentFile.mkdirs()
2121 manifestFile.writeText(JacksonJsonSerializer .serializeToJson(graph))
2222 writtenFile = true
23+ LOGGER .lifecycle(" \n GitHubDependencyGraphPlugin: Wrote dependency snapshot to \n ${manifestFile.canonicalPath} " )
2324 return manifestFile
2425 }
2526
@@ -43,7 +44,7 @@ private constructor(
4344 return DependencyFileWriter (
4445 File (
4546 buildDirectory,
46- " reports/github-dependency-report /github-dependency-manifest .json"
47+ " reports/github-dependency-graph-plugin /github-dependency-snapshot .json"
4748 ),
4849 loggerWarning
4950 )
Original file line number Diff line number Diff line change 11Preliminary release of dependency graph plugin.
2+
3+ - Moved generated report file to ` build/reports/github-dependency-graph-plugin/github-dependency-snapshot.json `
Original file line number Diff line number Diff line change 1- 0.0.1
1+ 0.0.2
You can’t perform that action at this time.
0 commit comments