Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 6. Configuring the Java compiler
By default, the Quarkus Maven plug-in passes compiler flags to the javac command from the maven-compiler-plugin plug-in.
Procedure
To customize the compiler flags used in development mode, add a
configurationsection to thepluginblock and set thecompilerArgsproperty. You can also setsource,target, andjvmArgs. For example, to pass--enable-previewto both the JVM andjavacadd the following lines:Copy to Clipboard Copied! Toggle word wrap Toggle overflow