Skip to content

Commit

Permalink
Cleanup: pom.xml, unwanted files, cleanup imports
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaMauger committed Oct 9, 2022
1 parent 214cd40 commit 839f015
Show file tree
Hide file tree
Showing 172 changed files with 1,647 additions and 4,345 deletions.
41 changes: 0 additions & 41 deletions ChronoCustoms.iml

This file was deleted.

46 changes: 0 additions & 46 deletions TogetherManager (1).iml

This file was deleted.

14 changes: 0 additions & 14 deletions TogetherManager (2).iml

This file was deleted.

42 changes: 0 additions & 42 deletions TogetherManager.iml

This file was deleted.

89 changes: 0 additions & 89 deletions dependency-reduced-pom.xml

This file was deleted.

37 changes: 22 additions & 15 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@
<name>Spire with Friends</name>
<description>Multiplayer comes to the Spire! Adds new Co-op and Versus modes.</description>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<sts.version>017</sts.version>
<mts.version>2.7.0</mts.version>
<basemod.version>4.0.0</basemod.version>
<downfall.version>3.1.11</downfall.version>
<ascension-plus.version>1.2</ascension-plus.version>
<discord-game-sdk4j.version>v0.5.5</discord-game-sdk4j.version>
</properties>

<repositories>
<repository>
<id>jitpack.io</id>
Expand All @@ -16,51 +28,45 @@
<dependency>
<groupId>com.megacrit.cardcrawl</groupId>
<artifactId>slaythespire</artifactId>
<version>017</version>
<version>${sts.version}</version>
<scope>system</scope>
<systemPath>${install-root}/desktop-1.0.jar</systemPath>
</dependency>
<dependency>
<groupId>com.evacipated.cardcrawl</groupId>
<artifactId>ModTheSpire</artifactId>
<version>2.7.0</version>
<version>${mts.version}</version>
<scope>system</scope>
<systemPath>${mts-jar-path}</systemPath>
</dependency>
<dependency>
<groupId>com.evacipated.cardcrawl</groupId>
<artifactId>BaseMod</artifactId>
<version>4.0.0</version>
<version>${basemod.version}</version>
<scope>system</scope>
<systemPath>${basemod-jar-path}</systemPath>
</dependency>
<dependency>
<groupId>mod-group-name</groupId>
<artifactId>downfall</artifactId>
<version>3.1.11</version>
<version>${downfall.version}</version>
<scope>system</scope>
<systemPath>/Users/Chronometrics/Library/Application Support/Steam/steamapps/workshop/content/646570/1610056683/downfall.jar</systemPath>
<systemPath>${downfall-jar-path}</systemPath>
</dependency>
<dependency>
<groupId>mod-group-name</groupId>
<artifactId>AscensionPlus</artifactId>
<version>1.2</version>
<version>${ascension-plus.version}</version>
<scope>system</scope>
<systemPath>/Users/Chronometrics/Library/Application Support/Steam/steamapps/workshop/content/646570/2855937000/AscensionPlus.jar</systemPath>
<systemPath>${ascension-plus-jar-path}</systemPath>
</dependency>
<dependency>
<groupId>com.github.JnCrMx</groupId>
<artifactId>discord-game-sdk4j</artifactId>
<version>v0.5.3</version>
<version>${discord-game-sdk4j.version}</version>
</dependency>

</dependencies>

<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>

<!-- This is how your code is packaged into the jar file-->
<build>
<!-- Change this to match your mods name -->
Expand All @@ -79,6 +85,7 @@
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<filters>
<filter>
<!-- Change this to match your mods groupId:artifactId -->
Expand All @@ -95,7 +102,7 @@
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<outputDirectory>${mods-folder-path}</outputDirectory>
<outputDirectory>${swf-output-path}</outputDirectory>
</configuration>
</plugin>

Expand Down
4 changes: 3 additions & 1 deletion settings-template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
<install-root>/path/to/Slay the Spire</install-root> <!-- should contain desktop-1.0.jar -->
<mts-jar-path>path/to/ModTheSpire.jar</mts-jar-path>
<basemod-jar-path>path/to/BaseMod.jar</basemod-jar-path>
<mods-folder-path>path/to/mods</mods-folder-path>
<downfall-jar-path>path/to/downfall.jar</downfall-jar-path>
<ascension-plus-jar-path>path/to/AscensionPlus.jar</ascension-plus-jar-path>
<swf-output-path>path/to/swf/output</swf-output-path>
</properties>
</profile>
</profiles>
Expand Down
Loading

0 comments on commit 839f015

Please sign in to comment.