m1a2st commented on PR #18104:
URL: https://github.com/apache/kafka/pull/18104#issuecomment-2533766685

   Hello @ableegoldman,
   
   We should not set java version in the Project Structure > Project Settings > 
Modules, when we import the new kafka project, and refresh the gradle build, 
You can test below in different modules
   ![CleanShot 2024-12-11 at 14 37 
32@2x](https://github.com/user-attachments/assets/bf805388-9252-4734-b216-b4846f930160)
   
   > 1. setting this to 11 does not seem to have any effect (eg I can still use 
Optional#isPresent in the IDE)
   > 2. refreshing gradle wipes out the language level override and sets it 
back to "Project Default"
   
   In  Project Structure > Project Settings > Modules it also is project 
default, but I file a issue to intellij community to trace it.
   
[issue](https://youtrack.jetbrains.com/issue/IDEA-364556/Gradle-setting-java-modules-version-not-inconsistency-in-the-intellij-Project-Settings-modules)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to