mirror of
https://github.com/CodeMC/WorldGuardWrapper.git
synced 2025-01-18 04:02:38 +01:00
A wrapper for the WorldGuard API that allows plugins to support both v6 and v7 APIs.
3307201d63
Bumps [maven-install-plugin](https://github.com/apache/maven-install-plugin) from 2.5.2 to 3.0.1. - [Release notes](https://github.com/apache/maven-install-plugin/releases) - [Commits](https://github.com/apache/maven-install-plugin/compare/maven-install-plugin-2.5.2...maven-install-plugin-3.0.1) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-install-plugin dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.github | ||
api | ||
implementation | ||
library | ||
.gitattributes | ||
.gitignore | ||
LICENSE | ||
pom.xml | ||
README.md |
WorldGuardWrapper
A wrapper for the WorldGuard API that allows plugins to support both v6 and v7 APIs.
Maven dependency
How to include WorldEditWrapper into your maven project:
<repositories>
<repository>
<id>codemc-repo</id>
<url>https://repo.codemc.org/repository/maven-public/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.codemc.worldguardwrapper</groupId>
<artifactId>worldguardwrapper</artifactId>
<version>1.2.0-SNAPSHOT</version>
</dependency>
</dependencies>
Remember to include/relocate the library into your final jar, example:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
<relocations>
<relocation>
<pattern>org.codemc.worldguardwrapper</pattern>
<shadedPattern>YOUR.PLUGIN.PACKAGE.libs.worldguardwrapper</shadedPattern>
</relocation>
</relocations>
</configuration>
</plugin>
</plugins>
</build>