mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-21 03:10:58 +08:00
87ee3b4d67
Signed-off-by: Mariell Hoversholm <proximyst@proximyst.com>
37 lines
1.3 KiB
Diff
37 lines
1.3 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Aikar <aikar@aikar.co>
|
|
Date: Fri, 1 Apr 2016 00:02:47 -0400
|
|
Subject: [PATCH] Add FastUtil to Bukkit
|
|
|
|
Doesn't expose to plugins, just allows Paper-API to use it for optimization
|
|
|
|
diff --git a/build.gradle.kts b/build.gradle.kts
|
|
index fd47081fbc8cc5d88a57689d1beee5eddc78f845..95327c3971cd57e01da2a62e1b72ba15fcbb63f4 100644
|
|
--- a/build.gradle.kts
|
|
+++ b/build.gradle.kts
|
|
@@ -16,6 +16,7 @@ dependencies {
|
|
api("net.md-5:bungeecord-chat:1.16-R0.4")
|
|
api("org.yaml:snakeyaml:1.29")
|
|
api("com.googlecode.json-simple:json-simple:1.1.1") // Paper
|
|
+ api("it.unimi.dsi:fastutil:8.2.2")
|
|
|
|
compileOnly("org.apache.maven:maven-resolver-provider:3.8.1")
|
|
compileOnly("org.apache.maven.resolver:maven-resolver-connector-basic:1.7.0")
|
|
diff --git a/pom.xml b/pom.xml
|
|
index d7cf64f05d0a2f5b186ca13b2b88e390abe84226..1ebc4c096638128194cea9c2a4131f901e7d6896 100644
|
|
--- a/pom.xml
|
|
+++ b/pom.xml
|
|
@@ -32,6 +32,12 @@
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
+ <dependency>
|
|
+ <groupId>it.unimi.dsi</groupId>
|
|
+ <artifactId>fastutil</artifactId>
|
|
+ <version>8.2.2</version>
|
|
+ <scope>provided</scope>
|
|
+ </dependency>
|
|
<dependency>
|
|
<groupId>commons-lang</groupId>
|
|
<artifactId>commons-lang</artifactId>
|