From d9c982ac175838fd8f951f98413ee65e904743bc Mon Sep 17 00:00:00 2001
From: Zach Brown <1254957+zachbr@users.noreply.github.com>
Date: Fri, 16 Sep 2016 14:38:52 -0500
Subject: [PATCH] Add javax.annotations to the API

Used this set specifically because they are present in NMS already.
---
 Spigot-API-Patches/POM-changes.patch | 14 ++++++++++++++
 pom.xml                              |  4 ++++
 2 files changed, 18 insertions(+)

diff --git a/Spigot-API-Patches/POM-changes.patch b/Spigot-API-Patches/POM-changes.patch
index 23ceb953b5..947ba9bf20 100644
--- a/Spigot-API-Patches/POM-changes.patch
+++ b/Spigot-API-Patches/POM-changes.patch
@@ -73,6 +73,20 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
      <dependencies>
          <dependency>
              <groupId>commons-lang</groupId>
+@@ -0,0 +0,0 @@
+             <type>jar</type>
+             <scope>compile</scope>
+         </dependency>
++        <!-- bundled with Minecraft, shouldn't ever change -->
++        <dependency>
++            <groupId>javax.annotation</groupId>
++            <artifactId>javax-annotations</artifactId>
++            <version>1.0.0</version>
++            <scope>compile</scope>
++        </dependency>
+         <!-- bundled with Minecraft, should be kept in sync -->
+         <dependency>
+             <groupId>com.google.guava</groupId>
 @@ -0,0 +0,0 @@
      </dependencies>
  
diff --git a/pom.xml b/pom.xml
index 0f0f8a8d6c..aa3c034df2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -40,6 +40,10 @@
             <id>aikar</id>
             <url>http://ci.emc.gs/nexus/content/repositories/aikar/</url>
         </repository>
+        <repository>
+            <id>destroystokyo-releases</id>
+            <url>https://repo.destroystokyo.com/repository/maven-releases/</url>
+        </repository>
     </repositories>
 
     <distributionManagement>