The tests were using assignment expressions, a Kotlin compiler feature only available in Gradle 8.2 and onwards.