-
-
Notifications
You must be signed in to change notification settings - Fork 5
Home
Francisco Solis edited this page Jul 20, 2021
·
5 revisions
Welcome to the SuperCoreAPI wiki!
Repository
Feel free to change the comment and the id of the repo.
<!-- TheProgramSrc -->
<repository>
<id>theprogramsrc</id>
<url>https://repo.theprogramsrc.xyz/repository/maven-public/</url>
</repository>Dependency:
Replace
$VERSIONwith the latest version
<!-- DiscordBotBase -->
<dependency>
<groupId>xyz.theprogramsrc</groupId>
<artifactId>SuperCoreAPI</artifactId>
<version>$VERSION</version>
<scope>compile</scope>
</dependency>Avoiding Bugs:
To avoid bugs with other plugins using SuperCoreAPI is recommended to use this maven shade plugin (using relocation settings):
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<relocations>
<relocation>
<pattern>xyz.theprogramsrc.supercoreapi</pattern>
<shadedPattern>com.example.myplugin.supercoreapi</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>Make sure to replace com.example.myplugin with your own package.
Feel free to open a ticket or ask to the community in our discord server, you may also create a new issue.
We're happy to see that you wanna contribute to the repo! Feel free to fork it and open a new pull request anytime! If you want to you can also donate using the Sponsor button :)