Skip to content

Commit fcb02f5

Browse files
authored
Merge pull request #23 from Andre601/add-percent-placeholder
Various improvements and changes
2 parents 55a4dea + 53cadfa commit fcb02f5

2 files changed

Lines changed: 199 additions & 109 deletions

File tree

pom.xml

Lines changed: 42 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,26 @@
2929
<scope>provided</scope>
3030
</dependency>
3131
<dependency>
32-
<groupId>me.clip</groupId>
33-
<artifactId>placeholderapi</artifactId>
34-
<version>2.10.10</version>
35-
<scope>provided</scope>
36-
<exclusions>
37-
<exclusion>
38-
<groupId>me.rayzr522</groupId>
39-
<artifactId>jsonmessage</artifactId>
40-
</exclusion>
41-
<exclusion>
42-
<groupId>org.bstats</groupId>
43-
<artifactId>bstats-bukkit</artifactId>
44-
</exclusion>
45-
</exclusions>
32+
<groupId>me.clip</groupId>
33+
<artifactId>placeholderapi</artifactId>
34+
<version>2.10.10</version>
35+
<scope>provided</scope>
36+
<exclusions>
37+
<exclusion>
38+
<groupId>me.rayzr522</groupId>
39+
<artifactId>jsonmessage</artifactId>
40+
</exclusion>
41+
<exclusion>
42+
<groupId>org.bstats</groupId>
43+
<artifactId>bstats-bukkit</artifactId>
44+
</exclusion>
45+
</exclusions>
46+
</dependency>
47+
<dependency>
48+
<groupId>com.github.ben-manes.caffeine</groupId>
49+
<artifactId>caffeine</artifactId>
50+
<version>1.3.3</version>
51+
<scope>compile</scope>
4652
</dependency>
4753
</dependencies>
4854

@@ -73,6 +79,28 @@
7379
<useIncrementalCompilation>false</useIncrementalCompilation>
7480
</configuration>
7581
</plugin>
82+
<plugin>
83+
<groupId>org.apache.maven.plugins</groupId>
84+
<artifactId>maven-shade-plugin</artifactId>
85+
<version>3.2.4</version>
86+
<configuration>
87+
<minimizeJar>true</minimizeJar>
88+
<relocations>
89+
<relocation>
90+
<pattern>com.github.benmanes.caffeine</pattern>
91+
<shadedPattern>com.extendedclip.papi.expansion.server.caffeine</shadedPattern>
92+
</relocation>
93+
</relocations>
94+
</configuration>
95+
<executions>
96+
<execution>
97+
<phase>package</phase>
98+
<goals>
99+
<goal>shade</goal>
100+
</goals>
101+
</execution>
102+
</executions>
103+
</plugin>
76104
</plugins>
77105
</build>
78106
</project>

0 commit comments

Comments
 (0)