Is hilla.exposedPackagesToParser working?

There is build.gradle:

plugins {
	id 'java'
	id "org.springframework.boot" version "$springBootVersion"
	id "io.spring.dependency-management" version "1.1.0"
	id "com.vaadin" version "$vaadinVersion"
	id "idea"
	id 'maven-publish'

}

hilla {
	exposedPackagesToParser = ["com.example.application"]
}

So, gradle 8.+ says

 Could not find method hilla() for arguments [build_e9lwc0r9ddznaamir3des3hvb$_run_closure1@906429c] on root project 'ui-lib' of type org.gradle.api.Project.

Which version are you using? There’s no such parameter in 24.7, as it uses Spring bean visibility to find endpoints.

Ok, it is clear. I use 24.7