In intellij just set Gradle JVM to Java version 17.
“File -> Settings.. -> Build, Execution, Deployment -> Build Tools -> Gradle”
there select your project and set Gradle JVM to your java 17.0.1
In intellij just set Gradle JVM to Java version 17.
“File -> Settings.. -> Build, Execution, Deployment -> Build Tools -> Gradle”
there select your project and set Gradle JVM to your java 17.0.1