Skip to content

Commit

Permalink
Update src/site/apt/examples/set-compiler-release.apt.vm
Browse files Browse the repository at this point in the history
Co-authored-by: Konrad Windszus <kwin@apache.org>
  • Loading branch information
slawekjaranowski and kwin committed Mar 13, 2024
1 parent 2e69b11 commit bd6518f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/site/apt/examples/set-compiler-release.apt.vm
Expand Up @@ -114,7 +114,7 @@ Setting the <<<--release>>> of the Java Compiler

* Usage on JDK 8 - automatic detection

Since version <<<3.13.0>>> of the Compiler Plugin and default <<<javac>>> compilerId you can skip special profile.
Since version <<<3.13.0>>> of the Compiler Plugin together with the default <<<javac>>> compilerId you don't need conditional parametrisation of `release`.
The <<<release>>> parameter will only be effective for Java 9 or above, otherwise the <<<source>>> and <<<target>>> will be passed to the compiler.

So you can simply configure as:
Expand Down

0 comments on commit bd6518f

Please sign in to comment.