What's worse, the replacement provided by the documentation is not correct. I can't replace
val p: String by project
with
val p = project.property("p")
without additional
as String
casting.
c
CLOVIS
06/21/2026, 9:31 AM
😕
v
Vampire
06/21/2026, 10:50 AM
Yeah, we need to build a library to bring back the delegate methods. Unfortunately, they decided to remove them for very non-sense reasons and are not listening to the voices demanding a revert. :-(
But it was clear that this is coming, as for quite some time they also did not add new delegate methods where they would have been appropriate.
https://github.com/gradle/gradle/issues/37604