anchor.diff:  It’s unfortunate, and we feel your frustration. Keep reading onto the next section.
   
   [[sec:task_configuration_avoidance_troubleshooting]]
  -==== Troubleshooting
  +=== Troubleshooting
   * **The build became unstable after migrating to lazy task configuration.**
   It’s a common issue that happens during the migration.
   Follow these next steps to find out the issue:
  
positive.code: may be expected to always execute.
  
  [[sec:task_configuration_avoidance_migration_steps]]
  ==== Migration Steps
  The first part of the migration process is to go through the code and manually migrate eager task creation and configuration to use lazy APIs.
  The following explores the recommended steps for a successful migration.
  While going through those steps, keep in mind <<#sec:task_configuration_avoidance_general, the guidelines>>.
  
  [NOTE]
  ====
  Migrating plugin code as follow will lock the runtime to Gradle 4.9 and above. Plugin authors should refer to <<sec:task_configuration_avoidance_backward_compatibility_migration>> section.
  ====
  
  1. **Migrate task configuration that affects all tasks (`tasks.all {}`) or subsets by type (`tasks.withType(...) {}`).**
  
negative.code: To approximate the time it takes to configure a build without executing tasks, you can run `gradle help`. Please use the Gradle Profiler to measure your build as described <<#sec:new_task_gradle_profiler_scenario,further on>>.
  
  [[sec:task_configuration_avoidance_migration_guidelines]]
  == Migration Guide
  
  The following sections will go through some <<#sec:task_configuration_avoidance_general, general guidelines>> to adhere when migrating the build logic as well as <<#sec:task_configuration_avoidance_migration_steps, the steps>> we recommend following.
  We also cover some <<#sec:task_configuration_avoidance_troubleshooting, troubleshooting>> and <<#sec:task_configuration_avoidance_pitfalls, pitfalls>> to help you work around some issues you may encountered during the migration.
  
  [[sec:task_configuration_avoidance_general]]
  === General
  1. [[task_configuration_avoidance_guideline_use_help_task]] **Use `help` task as a benchmark during the migration.**
  The `help` task is the perfect candidate to benchmark your migration process.
  In a completely lazy build, https://scans.gradle.com/s/o7qmlmmrsfxz4/performance/configuration?openScriptsAndPlugins=WzFd[a build scan should show no task created immediately or created during configuration].
  