AffectedModuleDetector icon indicating copy to clipboard operation
AffectedModuleDetector copied to clipboard

Switch registering tasks to lazy

Open joshafeinberg opened this issue 3 years ago • 1 comments

Switches the task registration to be lazy. This was broken by the call to .get() but now seems to handle better

Previous build scan: https://scans.gradle.com/s/n4zr3vwp5elaa/performance/configuration

  • 0.024s to apply plugin
  • 17 tasks created

Build scan after changes: https://scans.gradle.com/s/4j4n4rie4siwu/performance/configuration

  • 0.005s to apply plugin
  • 0 tasks created

joshafeinberg avatar Oct 12 '22 16:10 joshafeinberg

Codecov Report

Merging #170 (0563972) into main (f041be2) will increase coverage by 0.94%. The diff coverage is 77.77%.

@@             Coverage Diff              @@
##               main     #170      +/-   ##
============================================
+ Coverage     50.37%   51.32%   +0.94%     
- Complexity       66       71       +5     
============================================
  Files            13       13              
  Lines           532      530       -2     
  Branches         99      100       +1     
============================================
+ Hits            268      272       +4     
+ Misses          237      231       -6     
  Partials         27       27              
Impacted Files Coverage Δ
...ctedmoduledetector/AffectedModuleDetectorPlugin.kt 56.12% <77.77%> (+5.12%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov[bot] avatar Oct 12 '22 16:10 codecov[bot]