This message was deleted.
# community-support
s
This message was deleted.
1
j
I think you can return
null
which is the value for "not set"
m
The doc is very explicit that the callback should not return
null
Wait, I'm on a super old version of Gradle actually where the symbol was still Incubating, let me check recent ones
j
🤔 The doc says:
Copy code
The provider is live and will call the {@link Callable} each time its value is queried. The {@link Callable} may return {@code null}, in which case the provider is considered to have no value.
(from Javadoc of
Project.provider {}
)
m
Right, it changed when the API became stable, I have this too now
Time to update my minGradleVersion 🙂
Thanks for the heads up!
a