Skip to content

Commit 1d840f9

Browse files
authored
Remove dependencies report task dependencies (elastic#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 1082ea5 commit 1d840f9

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
@@ -32,11 +32,6 @@ Collection distributions = project('archives').subprojects + project('packages')
3232

3333
// Concatenates the dependencies CSV files into a single file
3434
task generateDependenciesReport(type: ConcatFilesTask) {
35-
project.rootProject.allprojects {
36-
afterEvaluate {
37-
if (it.tasks.findByName("dependenciesInfo")) dependsOn it.tasks.dependenciesInfo
38-
}
39-
}
4035
files = fileTree(dir: project.rootDir, include: '**/dependencies.csv' )
4136
headerLine = "name,version,url,license"
4237
target = new File(System.getProperty('csv')?: "${project.buildDir}/dependencies/es-dependencies.csv")

0 commit comments

Comments
 (0)