mSpigot-Parent/patches/api/0005-Added-Lombok.patch

88 lines
2.9 KiB
Diff
Raw Normal View History

2023-07-21 05:34:25 +02:00
From b3fbe50987cd4d979540110d210b237dede252dc Mon Sep 17 00:00:00 2001
From: virtualWinter <winter@catmc.club>
Date: Fri, 21 Jul 2023 05:49:22 +0300
Subject: [PATCH] Added Lombok
diff --git a/pom.xml b/pom.xml
index 83f9f514..c1f582f1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,14 +17,12 @@
<description>An enhanced plugin API for Minecraft servers.</description>
<properties>
- <!--PaperSpigot - Bump to 1.8 - This will haunt me -->
<additionalparam>-Xdoclint:none</additionalparam>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
- <!-- required until fixed plexus-compiler-eclipse is deployed -->
<pluginRepositories>
<pluginRepository>
<id>spigotmc-public</id>
@@ -37,7 +35,6 @@
<groupId>net.sf.trove4j</groupId>
<artifactId>trove4j</artifactId>
<version>3.0.3</version>
- <!-- Trove Provided by CraftBukkit -->
<scope>provided</scope>
</dependency>
<dependency>
@@ -53,14 +50,12 @@
<type>jar</type>
<scope>compile</scope>
</dependency>
- <!-- bundled with Minecraft, should be kept in sync -->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>17.0</version>
<scope>compile</scope>
</dependency>
- <!-- bundled with Minecraft, should be kept in sync -->
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
@@ -85,8 +80,6 @@
<type>jar</type>
<scope>compile</scope>
</dependency>
-
- <!-- testing -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
@@ -99,6 +92,12 @@
<version>1.3</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.projectlombok</groupId>
+ <artifactId>lombok</artifactId>
+ <version>1.18.28</version>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
<build>
@@ -109,6 +108,13 @@
<version>3.11.0</version>
<configuration>
<optimize>true</optimize>
+ <annotationProcessorPaths>
+ <path>
+ <groupId>org.projectlombok</groupId>
+ <artifactId>lombok</artifactId>
+ <version>1.18.28</version>
+ </path>
+ </annotationProcessorPaths>
</configuration>
<dependencies>
<dependency>
--
2.41.0.windows.1