This message was deleted.
# community-support
s
This message was deleted.
v
You register the extension and immediately query its value without giving the consumer the chance to configure the extension, so you of course see the default value. The bad solution you might find online would be to use
afterEvaluate
. The proper solution is to use the lazy api you defined lazily. So for example wire the property to a property on a task so that it is only queried at task execution time. If you really need the value at configuration time, add a function to your extension instead that consumes and handles that value. Btw. as it is called
filePath
, you should probably use
RegularFileProperty
instead.
a
Can you point me to some documentation? A lot of what you said is unknown to me
a
Thank you
👌 1