Skip to content

Commit

Permalink
Remove dependencies report task dependencies (#31227)
Browse files Browse the repository at this point in the history
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".
  • Loading branch information
jasontedor committed Jun 9, 2018
1 parent 219a3d7 commit e371df2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions distribution/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit e371df2

Please sign in to comment.