forked from gskleres/FruityMod-StS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
95 lines (88 loc) · 2.48 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<project xmlns="http://maven.apache.org/POM/4.0.0">
<modelVersion>4.0.0</modelVersion>
<groupId>fruitymod</groupId>
<artifactId>FruityMod</artifactId>
<version>1.0.0</version>
<name>Fruity Mod</name>
<description>Currently, adds a few new relics.</description>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<modWorkingPath>${basedir}</modWorkingPath>
<modJarsPath>${basedir}/mods</modJarsPath>
<desktopJarPath>${modWorkingPath}/desktop-1.0.jar</desktopJarPath>
<modSpireJarPath>${modWorkingPath}/ModTheSpire.jar</modSpireJarPath>
<baseModJarPath>${modJarsPath}/BaseMod.jar</baseModJarPath>
<fruityModJarPath>${modJarsPath}/FruityMod.jar</fruityModJarPath>
</properties>
<dependencies>
<dependency>
<groupId>com.megacrit.cardcrawl</groupId>
<artifactId>slaythespire</artifactId>
<version>014</version>
<scope>system</scope>
<systemPath>${desktopJarPath}</systemPath>
</dependency>
<dependency>
<groupId>basemod</groupId>
<artifactId>basemod</artifactId>
<version>1.5.2</version>
<scope>system</scope>
<systemPath>${baseModJarPath}</systemPath>
</dependency>
<dependency>
<groupId>modthespire</groupId>
<artifactId>modthespire</artifactId>
<version>1.5.2</version>
<scope>system</scope>
<systemPath>${modSpireJarPath}</systemPath>
</dependency>
</dependencies>
<build>
<finalName>FruityMod</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.2</version>
<executions>
<execution>
<id>FruityMod</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<filters>
<filter>
<artifact>fruitymod:FruityMod</artifact>
<excludes>
<exclude>img/cards/gimp/***</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<phase>package</phase>
<configuration>
<target>
<copy file="target/FruityMod.jar" tofile="${fruityModJarPath}" />
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>