Notice this was done upstream in https://github.com/mastodon/mastodon/pull/26306 by one of the Renovate people, so thought it would make sense here too
Update to Kotlin 1.9.0 and migrate to newer language idioms. - Remove unnecessary @OptIn for features migrated to mainstream - Use `data object` where appropriate - Use new enum `entries` property
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>