gradle: Fix building with JDK11+
- Bump Kotlin version to 1.7.10.
- Bump hilt version to 2.45.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.