mirror of
https://github.com/JamesPeters98/ChestsPlusPlus.git
synced 2024-11-14 14:45:36 +01:00
Fix repositories, no need to build NMS anymore
This commit is contained in:
parent
68acfa2c5c
commit
b2a8f2bba3
52
.github/workflows/maven.yml
vendored
52
.github/workflows/maven.yml
vendored
@ -20,66 +20,14 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Cache BuildTools
|
||||
id: cache-buildtools
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
~/.m2
|
||||
~/BuildTools
|
||||
key: buildtools-cache-${{ hashFiles('**/spigot-*.jar') }}
|
||||
|
||||
- name: Check BuildTools cached
|
||||
run: |
|
||||
mkdir -p ~/BuildTools
|
||||
ls ~/BuildTools
|
||||
shell: bash
|
||||
|
||||
- name: Set up JDK 16
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '16'
|
||||
distribution: 'adopt'
|
||||
|
||||
- name: Run BuildTools 1.17
|
||||
working-directory: BuildTools
|
||||
run: |
|
||||
cd ~/BuildTools
|
||||
# make file runnable, might not be necessary
|
||||
chmod +x "${GITHUB_WORKSPACE}/BuildTools/build-1.17.sh"
|
||||
# run script
|
||||
bash ${GITHUB_WORKSPACE}/BuildTools/build-1.17.sh
|
||||
shell: bash
|
||||
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'adopt'
|
||||
|
||||
- name: Run BuildTools 1.18+
|
||||
working-directory: BuildTools
|
||||
run: |
|
||||
cd ~/BuildTools
|
||||
# make file runnable, might not be necessary
|
||||
chmod +x "${GITHUB_WORKSPACE}/BuildTools/build-1.18+.sh"
|
||||
# run script
|
||||
bash ${GITHUB_WORKSPACE}/BuildTools/build-1.18+.sh
|
||||
shell: bash
|
||||
|
||||
- name: Check BuildTools cached
|
||||
run: |
|
||||
mkdir -p ~/BuildTools
|
||||
ls ~/BuildTools
|
||||
shell: bash
|
||||
|
||||
- name: Build with Maven
|
||||
run: mvn -B package --file pom.xml
|
||||
|
||||
# - name: Check Folders
|
||||
# run: |
|
||||
# ls -R
|
||||
# shell: bash
|
||||
|
||||
- name: Upload Release Asset
|
||||
id: upload-release-asset
|
||||
|
@ -4,7 +4,12 @@
|
||||
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>com.jamesdpeters.minecraft.chests</groupId>
|
||||
<parent>
|
||||
<groupId>com.jamesdpeters.minecraft.chests</groupId>
|
||||
<artifactId>ChestsPlusPlus-Parent</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>ChestsPlusPlus-Master</artifactId>
|
||||
<version>2.9-Release</version>
|
||||
|
||||
@ -20,38 +25,6 @@
|
||||
<tag>@{project.version}</tag>
|
||||
</scm>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>spigot-repo</id>
|
||||
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
||||
</repository>
|
||||
|
||||
<repository>
|
||||
<id>dmulloy2-repo</id>
|
||||
<url>https://repo.dmulloy2.net/nexus/repository/public/</url>
|
||||
</repository>
|
||||
|
||||
<repository>
|
||||
<id>CodeMC</id>
|
||||
<url>https://repo.codemc.org/repository/maven-public</url>
|
||||
</repository>
|
||||
|
||||
<!-- <repository>-->
|
||||
<!-- <id>sytm-nexus</id>-->
|
||||
<!-- <url>https://repo.sytm.de/repository/maven-hosted/</url>-->
|
||||
<!-- </repository>-->
|
||||
|
||||
<repository>
|
||||
<id>jitpack.io</id>
|
||||
<url>https://jitpack.io</url>
|
||||
</repository>
|
||||
|
||||
<repository>
|
||||
<id>codemc-snapshots</id>
|
||||
<url>https://repo.codemc.io/repository/maven-snapshots/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>maven-snapshots</id>
|
||||
@ -89,7 +62,7 @@
|
||||
|
||||
<dependency>
|
||||
<groupId>net.wesjd</groupId>
|
||||
<artifactId>AnvilGUI</artifactId>
|
||||
<artifactId>anvilgui</artifactId>
|
||||
<version>1.6.6-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Chests++ Language File (Version 2.8-Release)
|
||||
# Chests++ Language File (Version 2.9-Release)
|
||||
# NOTE: This file gets replaced when the plugin launches! If you want to make modifications create a copy first!
|
||||
# To create a new language file simply create a copy of this file and rename it to your desired choice for example 'en_US.properties'
|
||||
# It should be located in the 'lang' folder
|
||||
|
21
pom.xml
21
pom.xml
@ -27,10 +27,31 @@
|
||||
</modules>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>codemc-snapshots</id>
|
||||
<url>https://repo.codemc.io/repository/maven-snapshots/</url>
|
||||
<snapshots/>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>codemc-repo</id>
|
||||
<url>https://repo.codemc.io/repository/maven-public/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>nms-repo</id>
|
||||
<url>https://repo.codemc.io/repository/nms/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>spigot-repo</id>
|
||||
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>dmulloy2-repo</id>
|
||||
<url>https://repo.dmulloy2.net/nexus/repository/public/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>jitpack.io</id>
|
||||
<url>https://jitpack.io</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
</project>
|
Loading…
Reference in New Issue
Block a user