nebula-plugins / gradle-dependency-lock-plugin

A plugin to allow people using dynamic dependency versions to lock them to specific versions.
Apache License 2.0
292 stars 42 forks source link

CoreLockingHelper: handle new Node types when retrieving task info from executionQueue #233

Closed rpalcolea closed 2 years ago

rpalcolea commented 2 years ago

heads up @OdysseusLives

https://github.com/gradle/gradle/blob/master/subprojects/core/src/main/java/org/gradle/execution/plan/OrdinalNode.java was introduced for 7.4 and it is the last node in the executionQueue now.

Changed the logic to query for the last task node.

I guess at some point would be nice if we could move to public APIs for this or eventually remove it 😅

OdysseusLives commented 2 years ago

Thanks for the heads-up! I see what you mean there