Skip to content

Can I specify language/JDK level? #68

Answered by brichbash
omega asked this question in Q&A
Discussion options

You must be logged in to vote

The information about the required jdk and language level is stored in .idea/misc.xml that is used and generated (if it is absent) in the project root by Qodana. You can create it before a step with Qodana. misc.xml should contain:

<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="ExternalStorageConfigurationManager" enabled="true" />
  <component name="FrameworkDetectionExcludesConfiguration">
    <file type="web" url="file://$PROJECT_DIR$" />
  </component>
  <component name="ProjectRootManager" version="2" languageLevel="JDK_17" project-jdk-name="openjdk-17" project-jdk-type="JavaSDK">
    <output url="file://$PROJECT_DIR$/out" />
  </component>
</project>

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ropsahl
Comment options

@brichbash
Comment options

@ropsahl
Comment options

Answer selected by omega
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants