Interface IdeaJavaLanguageSettings


  • public interface IdeaJavaLanguageSettings
    Describes Java language settings for an IDEA module.
    Since:
    2.11
    • Method Detail

      • getLanguageLevel

        JavaVersion getLanguageLevel()
        Returns the Java language level.
        Returns:
        The language level, or null if this value should be inherited.
      • getTargetBytecodeVersion

        JavaVersion getTargetBytecodeVersion()
                                      throws UnsupportedMethodException
        Returns the target bytecode level.
        Returns:
        The target bytecode language level, or null if this value should be inherited.
        Throws:
        UnsupportedMethodException - For provider Gradle versions older than 2.11, where this method is not supported.