diff --git a/Spigot-API-Patches/0014-Require-Java-8.patch b/Spigot-API-Patches/0014-Require-Java-8.patch new file mode 100644 index 0000000000..fea9b5acd0 --- /dev/null +++ b/Spigot-API-Patches/0014-Require-Java-8.patch @@ -0,0 +1,52 @@ +From 9bdea46a67a9a7779a451416f32af354373289dc Mon Sep 17 00:00:00 2001 +From: Zach Brown +Date: Fri, 8 Jan 2016 23:50:25 -0600 +Subject: [PATCH] Require Java 8 + + +diff --git a/pom.xml b/pom.xml +index 3ccfabb..7dd0adb 100644 +--- a/pom.xml ++++ b/pom.xml +@@ -19,8 +19,9 @@ + An enhanced plugin API for Minecraft servers. + + +- 1.6 +- 1.6 ++ ++ 1.8 ++ 1.8 + UTF-8 + + +@@ -136,26 +137,6 @@ + + + +- org.codehaus.mojo +- animal-sniffer-maven-plugin +- 1.13 +- +- +- process-classes +- +- check +- +- +- +- +- +- org.codehaus.mojo.signature +- java16 +- 1.1 +- +- +- +- + org.apache.maven.plugins + maven-shade-plugin + 2.3 +-- +2.7.0 + diff --git a/Spigot-Server-Patches/0080-Require-Java-8.patch b/Spigot-Server-Patches/0080-Require-Java-8.patch new file mode 100644 index 0000000000..8df4724096 --- /dev/null +++ b/Spigot-Server-Patches/0080-Require-Java-8.patch @@ -0,0 +1,65 @@ +From f7b5a4f597e231c459d6de50e1ef14a1f3e664a6 Mon Sep 17 00:00:00 2001 +From: Zach Brown +Date: Fri, 8 Jan 2016 23:50:25 -0600 +Subject: [PATCH] Require Java 8 + + +diff --git a/pom.xml b/pom.xml +index 4ec5bf6..b4ead1d 100644 +--- a/pom.xml ++++ b/pom.xml +@@ -16,8 +16,9 @@ + 1_8_R3 + git-Bukkit- + +- 1.6 +- 1.6 ++ ++ 1.8 ++ 1.8 + + + +@@ -173,26 +174,6 @@ + + + +- org.codehaus.mojo +- animal-sniffer-maven-plugin +- 1.13 +- +- +- process-classes +- +- check +- +- +- +- +- +- org.codehaus.mojo.signature +- java16 +- 1.1 +- +- +- +- + org.apache.maven.plugins + maven-shade-plugin + 2.3 +diff --git a/src/main/java/net/minecraft/server/PathfinderGoalNearestAttackableTarget.java b/src/main/java/net/minecraft/server/PathfinderGoalNearestAttackableTarget.java +index c110e0c..5540dde 100644 +--- a/src/main/java/net/minecraft/server/PathfinderGoalNearestAttackableTarget.java ++++ b/src/main/java/net/minecraft/server/PathfinderGoalNearestAttackableTarget.java +@@ -11,7 +11,7 @@ public class PathfinderGoalNearestAttackableTarget exten + protected final Class a; + private final int g; + protected final PathfinderGoalNearestAttackableTarget.DistanceComparator b; +- protected Predicate c; ++ protected Predicate c; + protected EntityLiving d; + + public PathfinderGoalNearestAttackableTarget(EntityCreature entitycreature, Class oclass, boolean flag) { +-- +2.7.0 +