diff options
-rw-r--r-- | build.gradle | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle index d61856c1b..ac154b345 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,3 @@ -import enforcer.rules.EnforceBytecodeVersion - plugins { id "java" id "checkstyle" @@ -22,7 +20,7 @@ checkstyle { } enforce { - rule(EnforceBytecodeVersion) { r -> + rule(enforcer.rules.EnforceBytecodeVersion) { r -> r.maxJdkVersion = "11" } } |