This message was deleted.
# plugin-development
s
This message was deleted.
e
https://github.com/gradle/gradle/issues/19088 it should work in Kotlin build scripts because Gradle sets up parameters to avoid the Kotlin compiler bug
it does lead to behavior that's inconsistent with other Kotlin code though
t
you can do it in plugins but you have to suppress the warning.
p
Gradle 8.4 finally includes a filter operation: https://github.com/gradle/gradle/issues/19981 if you need to map a Provider
S -> S?
to create a provider without a value.