-
Notifications
You must be signed in to change notification settings - Fork 25
How to setup
Leonhard edited this page Nov 19, 2019
·
5 revisions
- Place this in your repository-section:
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
- Place this in your dependency-section:
<!-- LightningStorage by JavaFactoryDev and Zeanon-->
<dependency>
<groupId>com.github.JavaFactoryDev</groupId>
<artifactId>LightningStorage</artifactId>
<version>3.0-Beta-1</version>
</dependency>
- Important! Use a shade plugin to make sure that the library is shaded into your final .jar file when your plugin is compiled. The relocation is optional but heavily recommended.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
<relocations>
<relocation>
<pattern>de.leonhard</pattern>
<shadedPattern>yourpackage.yourname.storage</shadedPattern>
</relocation>
</relocations>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
</plugin>
2020-2022 - SimplixSoftworks