From 7526b1790875c2bbb8e88d2e279114292ef19f61 Mon Sep 17 00:00:00 2001 From: Davide <137603413+LW-Davide@users.noreply.github.com> Date: Tue, 13 Feb 2024 17:10:53 +0100 Subject: [PATCH] Update build.gradle Change to make it compatible with Java8-16 --- velocity/build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/velocity/build.gradle b/velocity/build.gradle index 9e79f9b..18c180c 100644 --- a/velocity/build.gradle +++ b/velocity/build.gradle @@ -8,6 +8,11 @@ dependencies { annotationProcessor velocityJar } +java { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 +} + // Change the BloomAB.java details based on the project settings blossom { replaceTokenIn('src/main/java/host/bloom/ab/velocity/VelocityPlugin.java')