Skip to content

Javac lint

Java | Home

Javac linter could show more useful warnings (not visible by default).
See the list of all options.

Configuration

By default, plugin will enable deprecation and unchecked warnings (as the most useful):

quality {
    lintOptions = ['deprecation', 'unchecked']
}

These lint options are applied to all registered CompileJava tasks.