Skip to content

2.2.0 - Task improvements

Compare
Choose a tag to compare
@bsautel bsautel released this 31 Oct 10:39
· 432 commits to master since this release
  • Improve the inputs declarations of tasks:
    • NodeTask's script now has relative path sensitivity (issue #41)
    • No longer consider the working dir as an input for all tasks (issue #40)
    • Explicitly exclude the execOverrides option of tasks from the inputs (issue #40)
    • Add the ability to remove some files of the node_modules directory from the NpmInstallTask and YarnInstallTask outputs from the task output ; this is necessary when some tasks change some files of the node_modules directory ; the NpmInstallTask and YarnInstallTask are never up-to-date in this case (issue #38)
  • Deprecate the usage of NodeTask with a script which is a directory ; Node.js supports that and looks for an index.js file in the directory but this is not compliant with a correct input/output declaration (issue #41)
  • No longer use Project.afterEvaluate as a first step to support lazy tasks configuration (issue #39)
  • Gradle 6 compatibility (all integration tests run also on Gradle 6.0-rc-1)
  • Improve the integration tests coverage