Slackbot
10/22/2021, 1:35 PMPhil Glass
10/22/2021, 2:29 PMPhil Glass
10/25/2021, 1:53 PMAction<BuildScanExtension> worked. 🙌
The way a settings.gradle.kts file is compiled is pretty surprising to me. I thought the script body was roughly equivalent to the body of a method with a Settings receiver, but that's clearly wrong. The _provider "local" - which was supposed to prevent the lambda capturing the Settings object - actually gets compiled as a property on the script class (which means the script object - that also can't be serialized - is captured by the lambda, defeating the point).