Setting Spring profile in build.gradle

Just updated to gradle 8.7 and our ‘integration-test’ Spring Boot profile is not set when executing integration tests. How is this set in 8.7 in the build.gradle file?

How did you do it before the upgrade?
This is probably more a Spring Boot question than a Gradle question.