-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Plugin will not run on Paper or Spigot in this state. The plan is to get things working on Folia, and then switch back to the Spigot API and replace the Folia-specific calls with reflection.
- Loading branch information
Showing
18 changed files
with
335 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,143 +1,135 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>nl.rutgerkok</groupId> | ||
<artifactId>blocklocker</artifactId> | ||
<version>1.12.1-SNAPSHOT</version> | ||
<packaging>jar</packaging> | ||
|
||
<name>BlockLocker</name> | ||
<url>https://github.com/rutgerkok/BlockLocker</url> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<junit.jupiter.version>5.3.1</junit.jupiter.version> | ||
</properties> | ||
|
||
<repositories> | ||
<repository> | ||
<id>spigot-repo</id> | ||
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url> | ||
</repository> | ||
<repository> | ||
<id>rutger-repo</id> | ||
<url>https://rutgerkok.nl/repo</url> | ||
</repository> | ||
<repository> | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>nl.rutgerkok</groupId> | ||
<artifactId>blocklocker</artifactId> | ||
<version>1.12.1-SNAPSHOT</version> | ||
<packaging>jar</packaging> | ||
<name>BlockLocker</name> | ||
<url>https://github.com/rutgerkok/BlockLocker</url> | ||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<junit.jupiter.version>5.3.1</junit.jupiter.version> | ||
</properties> | ||
<repositories> | ||
<repository> | ||
<id>papermc</id> | ||
<url>https://repo.papermc.io/repository/maven-public/</url> | ||
</repository> | ||
<repository> | ||
<id>rutger-repo</id> | ||
<url>https://rutgerkok.nl/repo</url> | ||
</repository> | ||
<repository> | ||
<id>codemc-repo</id> | ||
<url>https://repo.codemc.org/repository/maven-public/</url> | ||
</repository> | ||
</repositories> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.spigotmc</groupId> | ||
<artifactId>spigot-api</artifactId> | ||
<version>1.18-R0.1-SNAPSHOT</version> | ||
<scope>provided</scope> | ||
<exclusions> | ||
<exclusion> <!-- Don't pull in an outdated version of JUnit --> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
|
||
<!-- Third party plugins --> | ||
<dependency> | ||
<groupId>com.palmergames</groupId> | ||
<artifactId>towny</artifactId> | ||
<version>0.96.7.0</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.massivecraft</groupId> | ||
<artifactId>MassiveCore</artifactId> | ||
<version>2.7.5</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.massivecraft</groupId> | ||
<artifactId>Factions</artifactId> | ||
<version>2.7.5</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.gmail.nossr50.mcMMO</groupId> | ||
<artifactId>mcMMO</artifactId> | ||
<version>2.1.218</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>me.glaremasters</groupId> | ||
<artifactId>guilds</artifactId> | ||
<version>3.5.3.5-RELEASE</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>net.sacredlabyrinth.phaed.simpleclans</groupId> | ||
<artifactId>SimpleClans</artifactId> | ||
<version>2.15.1</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
|
||
<!-- Tests --> | ||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter-api</artifactId> | ||
<version>${junit.jupiter.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter-engine</artifactId> | ||
<version>${junit.jupiter.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.mockito</groupId> | ||
<artifactId>mockito-core</artifactId> | ||
<version>2.23.0</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<!-- Define filtering for the inclusion of plugin.yml, so we can utilize | ||
</repositories> | ||
<dependencies> | ||
<dependency> | ||
<groupId>dev.folia</groupId> | ||
<artifactId>folia-api</artifactId> | ||
<version>1.19.4-R0.1-SNAPSHOT</version> | ||
<scope>provided</scope> | ||
<exclusions> | ||
<exclusion> | ||
<!-- Don't pull in an outdated version of JUnit --> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
<!-- Third party plugins --> | ||
<dependency> | ||
<groupId>com.palmergames</groupId> | ||
<artifactId>towny</artifactId> | ||
<version>0.96.7.0</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.massivecraft</groupId> | ||
<artifactId>MassiveCore</artifactId> | ||
<version>2.7.5</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.massivecraft</groupId> | ||
<artifactId>Factions</artifactId> | ||
<version>2.7.5</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.gmail.nossr50.mcMMO</groupId> | ||
<artifactId>mcMMO</artifactId> | ||
<version>2.1.218</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>me.glaremasters</groupId> | ||
<artifactId>guilds</artifactId> | ||
<version>3.5.3.5-RELEASE</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>net.sacredlabyrinth.phaed.simpleclans</groupId> | ||
<artifactId>SimpleClans</artifactId> | ||
<version>2.15.1</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<!-- Tests --> | ||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter-api</artifactId> | ||
<version>${junit.jupiter.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter-engine</artifactId> | ||
<version>${junit.jupiter.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.mockito</groupId> | ||
<artifactId>mockito-core</artifactId> | ||
<version>2.23.0</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
<build> | ||
<!-- Define filtering for the inclusion of plugin.yml, so we can utilize | ||
the pom.xml version in it --> | ||
<resources> | ||
<resource> | ||
<targetPath>.</targetPath> | ||
<filtering>true</filtering> | ||
<directory>src/main/resources</directory> | ||
<includes> | ||
<include>*</include> | ||
</includes> | ||
</resource> | ||
</resources> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.7.0</version> | ||
<configuration> | ||
<source>17</source> | ||
<target>17</target> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<distributionManagement> | ||
<repository> | ||
<id>codemc-releases</id> | ||
<url>https://repo.codemc.io/repository/maven-releases/</url> | ||
</repository> | ||
<snapshotRepository> | ||
<id>codemc-snapshots</id> | ||
<url>https://repo.codemc.io/repository/maven-snapshots/</url> | ||
</snapshotRepository> | ||
</distributionManagement> | ||
<resources> | ||
<resource> | ||
<targetPath>.</targetPath> | ||
<filtering>true</filtering> | ||
<directory>src/main/resources</directory> | ||
<includes> | ||
<include>*</include> | ||
</includes> | ||
</resource> | ||
</resources> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.7.0</version> | ||
<configuration> | ||
<source>17</source> | ||
<target>17</target> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<distributionManagement> | ||
<repository> | ||
<id>codemc-releases</id> | ||
<url>https://repo.codemc.io/repository/maven-releases/</url> | ||
</repository> | ||
<snapshotRepository> | ||
<id>codemc-snapshots</id> | ||
<url>https://repo.codemc.io/repository/maven-snapshots/</url> | ||
</snapshotRepository> | ||
</distributionManagement> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.