A wrapper for the WorldGuard API that allows plugins to support both v6 and v7 APIs.
Go to file
dependabot[bot] f53bf1f2f9
Bump lombok from 1.18.22 to 1.18.24
Bumps [lombok](https://github.com/projectlombok/lombok) from 1.18.22 to 1.18.24.
- [Release notes](https://github.com/projectlombok/lombok/releases)
- [Changelog](https://github.com/projectlombok/lombok/blob/master/doc/changelog.markdown)
- [Commits](https://github.com/projectlombok/lombok/compare/v1.18.22...v1.18.24)

---
updated-dependencies:
- dependency-name: org.projectlombok:lombok
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 17:02:28 +00:00
.github Add Github pipeline 2022-04-10 21:10:28 +02:00
api Fix maven build 2022-04-10 21:34:19 +02:00
implementation Fix maven build 2022-04-10 21:34:19 +02:00
library Fix maven build 2022-04-10 21:34:19 +02:00
.gitattributes Initial commit 2018-08-02 01:04:23 +02:00
.gitignore Fix maven build 2022-04-10 21:34:19 +02:00
LICENSE Initial commit 2018-08-02 01:04:23 +02:00
pom.xml Bump lombok from 1.18.22 to 1.18.24 2022-04-18 17:02:28 +00:00
README.md Update README.md 2020-10-21 20:16:03 +02:00

WorldGuardWrapper

Build Status Maven Javadocs Discord

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>