UNPKG

generator-sts-protemplate

Version:

Yeoman generator for starting up new Slay the Spire mods

102 lines (92 loc) 4 kB
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId><%= modIdLower %></groupId> <artifactId><%= modIdPascal %></artifactId> <version>0.0.1</version> <name><%= modIdSpaces %></name> <description><%= description %></description> <properties> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <SlayTheSpire.version>12-22-2020</SlayTheSpire.version> <ModTheSpire.version>3.18.2</ModTheSpire.version> <ModID><%= modIdLower %></ModID> <Steam.path><%= steamPath %></Steam.path> </properties> <dependencies> <dependency> <groupId>com.megacrit.cardcrawl</groupId> <artifactId>slaythespire</artifactId> <version>${SlayTheSpire.version}</version> <scope>system</scope> <systemPath>${Steam.path}/common/SlayTheSpire/desktop-1.0.jar</systemPath> </dependency> <dependency> <groupId>com.evacipated.cardcrawl</groupId> <artifactId>modthespire</artifactId> <version>${ModTheSpire.version}</version> <scope>system</scope> <systemPath>${Steam.path}/workshop/content/646570/1605060445/ModTheSpire.jar</systemPath> </dependency> <dependency> <groupId>basemod</groupId> <artifactId>basemod</artifactId> <version>5.29.0</version> <scope>system</scope> <systemPath>${Steam.path}/workshop/content/646570/1605833019/BaseMod.jar</systemPath> </dependency> <dependency> <groupId>com.evacipated.cardcrawl.mod</groupId> <artifactId>StSLib</artifactId> <version>1.3.2</version> <scope>system</scope> <systemPath>${Steam.path}/workshop/content/646570/1609158507/StSLib.jar</systemPath> </dependency> </dependencies> <build> <finalName>${project.artifactId}</finalName> <plugins> <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/${project.artifactId}.jar" tofile="${Steam.path}/common/SlayTheSpire/mods/${project.artifactId}.jar"/> </target> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> </plugins> <resources> <resource> <directory>src/main/resources</directory> </resource> <resource> <directory>src/main/resources</directory> <filtering>false</filtering> <excludes> <exclude>${ModID}Resources/**/*.json</exclude> <exclude>ModTheSpire.json</exclude> </excludes> </resource> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> <includes> <include>ModTheSpire.json</include> <include>${ModID}Resources/**/*.json</include> </includes> </resource> </resources> </build> </project>