I found something calling project.tasks.forEach {} where forEach is a kotlin.collections extension, which is eagerly creating tasks. It was not identified by this plugin.
Is it feasible to have this check be an allow-list where any method called on task container that is not known to be lazy is flagged?
I found something calling
project.tasks.forEach {}
whereforEach
is akotlin.collections
extension, which is eagerly creating tasks. It was not identified by this plugin.Is it feasible to have this check be an allow-list where any method called on task container that is not known to be lazy is flagged?