Changed base dependency to Paper

This commit is contained in:
Intelli 2021-08-01 16:36:17 -06:00
parent 5e3a19f208
commit 2fd366389b
2 changed files with 12 additions and 21 deletions

View File

@ -13,10 +13,10 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 8 - name: Set up JDK 16
uses: actions/setup-java@v2 uses: actions/setup-java@v2
with: with:
java-version: '8' java-version: '16'
distribution: 'adopt-hotspot' distribution: 'adopt-hotspot'
- name: Cache Maven packages - name: Cache Maven packages
uses: actions/cache@v1 uses: actions/cache@v1

21
pom.xml
View File

@ -64,12 +64,6 @@
</plugins> </plugins>
</build> </build>
<repositories> <repositories>
<!--
<repository>
<id>public</id>
<url>http://repo.mvdw-software.be/content/groups/public/</url>
</repository>
-->
<repository> <repository>
<id>spigot-repo</id> <id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url> <url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
@ -88,20 +82,17 @@
</repository> </repository>
</repositories> </repositories>
<dependencies> <dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.17-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<!-- <!--
paper-api (<= 1.16): com.destroystokyo.paper
spigot-api: org.spigotmc
bukkit: org.bukkit
-->
<dependency> <dependency>
<groupId>org.bukkit</groupId> <groupId>io.papermc.paper</groupId>
<artifactId>bukkit</artifactId> <artifactId>paper-api</artifactId>
<version>1.17-R0.1-SNAPSHOT</version> <version>1.17-R0.1-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
-->
<dependency> <dependency>
<groupId>org.bstats</groupId> <groupId>org.bstats</groupId>
<artifactId>bstats-bukkit-lite</artifactId> <artifactId>bstats-bukkit-lite</artifactId>