aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle7
1 files changed, 7 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 93871b36d..595bb8484 100644
--- a/build.gradle
+++ b/build.gradle
@@ -2,6 +2,7 @@ plugins {
id "java"
id "checkstyle"
id "com.google.protobuf" version "0.8.12"
+ id "org.kordamp.gradle.project-enforcer" version "0.9.0"
id "application"
}
@@ -34,6 +35,12 @@ protobuf {
}
}
+enforce {
+ rule(enforcer.rules.EnforceBytecodeVersion) { r ->
+ r.maxJdkVersion = "1.8"
+ }
+}
+
dependencies {
implementation "commons-codec:commons-codec:1.15"
implementation "com.h2database:h2:1.4.200"