Skip to content

Commit

Permalink
common: Use a different property for determining compiler arguments
Browse files Browse the repository at this point in the history
IntelliJ queries the compiler arguments at configuration time to set up annotation processors
  • Loading branch information
zml2008 committed Nov 23, 2020
1 parent 6ccc835 commit ce3e988
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class IndraPlugin : Plugin<Project> {

// JDK 9+ only arguments
compilerArgumentProviders += CommandLineArgumentProvider {
if(extension.javaVersions.actualVersion.get() >= 9) {
if(extension.javaVersions.minimumToolchain.get() >= 9) {
listOf(
"-Xdoclint",
"-Xdoclint:-missing"
Expand Down

0 comments on commit ce3e988

Please sign in to comment.