This message was deleted.
# configuration-cache
s
This message was deleted.
f
Using a
MutableMap<String, Any?>
works without any issues. Obviously it misses the ability to use
disallowUnsafeRead
and
finalizeValueOnRead
.
d
The collection properties have some fundamental strangeness to them that should be fixed. The
MapProperty
is probably the worst of them all, so it wouldn’t surprise me (I had a lot of issue using it). Your sample code is correct and they way you used it is also correct. I would also expect it to work without issues. First, I would make sure to try with the latest Gradle 7.x (and possibly with Gradle 8 nightly) to rule out that it’s an actual bug (not something that got fixed). Then, opening an issue would be quite valuable.
👍 2