Slackbot
04/09/2022, 8:36 PMVampire
04/09/2022, 10:50 PMAction<TheActualPropertiesHolder>
and then in that method you can do the actions after all properties were configured and you can prevent the method being called again to prevent unexpected changes after you reacted for example.Big Chungus
04/10/2022, 11:49 AMNamedDomainObjectContainer<T>
2. New items can be added via the plugin extension myExtension { container { register("name") { ... } } }
3. However I'm also listening for kotlin multiplatform plugion application and when it's applied I'm using details from that plugin to implicitly create some items in that container
4. The problem is that by the time my end-user's expension DSL is evaluated, implicit items are not yet present and not retrievable via named("implicitItem") { ... }
Vampire
04/10/2022, 8:25 PMBig Chungus
04/11/2022, 11:21 AMBig Chungus
04/11/2022, 11:23 AMVampire
04/11/2022, 11:41 AMimplicitItem
should already be available for further configuration in the user code directly.Vampire
04/11/2022, 11:43 AMafterEvaluate
instead of using withPlugin
Big Chungus
04/12/2022, 12:07 AMVampire
04/12/2022, 10:41 AMcontainer
is an unlucky name as the container method from Project
kotlin DSL will be used instead.
But I guess that was just an example, not the actual naming.
Can you show an MCVE where it does not work?Big Chungus
04/12/2022, 10:44 AMVampire
04/12/2022, 10:44 AMBig Chungus
04/12/2022, 12:26 PMVampire
04/12/2022, 12:26 PM