From cd908caef8d649e515536ccb3cbb3ed081ab32c4 Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Sat, 9 Jun 2018 08:43:29 -0400 Subject: [PATCH] Remove dependencies report task dependencies 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". --- distribution/build.gradle | 5 ----- 1 file changed, 5 deletions(-) diff --git a/distribution/build.gradle b/distribution/build.gradle index 7f08c244f456d..fa62513a54069 100644 --- a/distribution/build.gradle +++ b/distribution/build.gradle @@ -32,11 +32,6 @@ Collection distributions = project('archives').subprojects + project('packages') // Concatenates the dependencies CSV files into a single file task generateDependenciesReport(type: ConcatFilesTask) { - project.rootProject.allprojects { - afterEvaluate { - if (it.tasks.findByName("dependenciesInfo")) dependsOn it.tasks.dependenciesInfo - } - } files = fileTree(dir: project.rootDir, include: '**/dependencies.csv' ) headerLine = "name,version,url,license" target = new File(System.getProperty('csv')?: "${project.buildDir}/dependencies/es-dependencies.csv")