Add animal sniffer plugin to check API usages.

Wouldn't want @yawkat submitting PRs that only work on Java 8.

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2015-01-12 20:06:53 +11:00
parent 38b546ae88
commit 96906e4a24

View File

@ -114,6 +114,26 @@
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<version>1.13</version>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
<artifactId>java16</artifactId>
<version>1.1</version>
</signature>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>