Skip to content

Commit

Permalink
[MCOMPILER-402] Pass implicit configuration down to compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
pzygielo committed Mar 13, 2022
1 parent 0e8e916 commit 38ea0c1
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,14 @@ public abstract class AbstractCompilerMojo
@Parameter( property = "maven.compiler.debuglevel" )
private String debuglevel;

/**
* Keyword to be appended to the <code>-implicit:</code> command-line switch.
*
* @since 3.10.2
*/
@Parameter( property = "maven.compiler.implicit" )
private String implicit;

/**
*
*/
Expand Down Expand Up @@ -686,6 +694,8 @@ public void execute()

compilerConfiguration.setDebugFileName( getDebugFileName() );

compilerConfiguration.setImplicitOption( implicit );

if ( debug && StringUtils.isNotEmpty( debuglevel ) )
{
String[] split = StringUtils.split( debuglevel, "," );
Expand Down

0 comments on commit 38ea0c1

Please sign in to comment.