You can also check in an .sdkmanrc into each respective project which defines the required Java version.
Then SDKMAN! will perform the switch automatically when you enter the directory.
https://sdkman.io/usage/#env-command