Skip to content

Commit f99f185

Browse files
committed
Remove dependencies report task dependencies (#31227)
A previous commit tried to add task dependencies for the :distribution:generateDependenciesReport task so that a user did not have to run "dependenciesInfo :distribution:generateDependenciesReport". However this method did not reliably add all task dependencies due to task ordering issues in previous versions of Gradle and our build. This commit removes this for now and a user will continue to have to run "dependenciesInfo :distribution:generateDependenciesReport".
1 parent aa4c2bb commit f99f185

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

distribution/build.gradle

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,6 @@ Collection distributions = project.subprojects.findAll {
5050

5151
// Concatenates the dependencies CSV files into a single file
5252
task generateDependenciesReport(type: ConcatFilesTask) {
53-
project.rootProject.allprojects {
54-
afterEvaluate {
55-
if (it.tasks.findByName("dependenciesInfo")) dependsOn it.tasks.dependenciesInfo
56-
}
57-
}
5853
files = fileTree(dir: project.rootDir, include: '**/dependencies.csv' )
5954
headerLine = "name,version,url,license"
6055
target = new File(System.getProperty('csv')?: "${project.buildDir}/dependencies/es-dependencies.csv")

0 commit comments

Comments
 (0)