Skip to content

Commit

Permalink
Add additional wording to log message about skipping bytecode check
Browse files Browse the repository at this point in the history
  • Loading branch information
keeganwitt committed Jul 13, 2022
1 parent 4021093 commit c62ae01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ protected void verifyGroovyVersionSupportsTargetBytecode() {
throw new IllegalArgumentException("Target bytecode " + targetBytecode + " requires Groovy " + GROOVY_2_1_3 + " or newer.");
}
} else if (!"5".equals(targetBytecode) && !"1.5".equals(targetBytecode) && !"4".equals(targetBytecode) && !"1.4".equals(targetBytecode)) {
throw new IllegalArgumentException("Unrecognized target bytecode: '" + targetBytecode + "'.");
throw new IllegalArgumentException("Unrecognized target bytecode: '" + targetBytecode + "'. This check can be skipped with 'skipBytecodeCheck', but this may result in a different target bytecode being used.");
}
}

Expand Down

0 comments on commit c62ae01

Please sign in to comment.