ayaports/user/papermc-plugin-vault/2022cb0_support-newer-jdk-for-building.patch

34 lines
1 KiB
Diff
Raw Normal View History

2024-12-24 19:05:52 +00:00
From 2022cb08922caa42aa77faca254c9b7d7506bee8 Mon Sep 17 00:00:00 2001
From: Geolykt <admin@geolykt.de>
Date: Mon, 27 Jun 2022 12:02:49 +0200
Subject: [PATCH] Support newer JDKs for building
Apparently the ancient version of lombok used
by a dependency is not compatible with newer
versions of java. As Vault proper did not make
use of lombok, it can be safely removed without
declaring an alternative.
This commit allows Vault to build under Java 17.
---
pom.xml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/pom.xml b/pom.xml
index 5b8a6dfd..17c189fd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -324,6 +324,12 @@ Vault currently supports the following: Permissions 3, PEX, GroupManager, bPerms
<artifactId>craftconomy3</artifactId>
<version>3.2.2-SNAPSHOT</version>
<optional>true</optional>
+ <exclusions>
+ <exclusion>
+ <groupId>org.projectlombok</groupId>
+ <artifactId>lombok</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>net.crystalyx.bukkit.simplyperms</groupId>