Added metrics & made UpdateChecker optional

This commit is contained in:
stijnb1234 2020-02-21 10:18:59 +01:00
parent 383b99114a
commit a881adb64a
3 changed files with 39 additions and 11 deletions

21
pom.xml
View file

@ -52,9 +52,16 @@
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.2</version>
<configuration>
<relocations>
<relocation>
<pattern>org.bstats</pattern>
<shadedPattern>nl.SBDeveloper.V10Lift.Metrics</shadedPattern>
</relocation>
</relocations>
</configuration>
<executions>
<execution>
<id>shade</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
@ -135,6 +142,10 @@
<id>iobyte-repo</id>
<url>https://nexus.iobyte.nl/repository/maven-public/</url>
</repository>
<repository>
<id>CodeMC</id>
<url>https://repo.codemc.org/repository/maven-public</url>
</repository>
</repositories>
<dependencies>
@ -173,6 +184,14 @@
<artifactId>jackson-module-parameter-names</artifactId>
<version>2.10.2</version>
</dependency>
<!-- BStats, used for metrics -->
<dependency>
<groupId>org.bstats</groupId>
<artifactId>bstats-bukkit</artifactId>
<version>1.7</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>