Skip to content

Commit

Permalink
Merge pull request #1 from HaeImAlan/main
Browse files Browse the repository at this point in the history
Made it buildable on actions and updating dependencies
  • Loading branch information
TheSpeedCubing authored Jan 29, 2024
2 parents 59a8d90 + 752c701 commit 6488b9a
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 2 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build jar

on: workflow_dispatch

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup JDK 8
uses: actions/setup-java@v2
with:
java-version: 8
distribution: 'adopt'
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Upload jar
uses: actions/upload-artifact@v2
with:
name: cubingPaper
path: target/paperspigot-1.8.8-R0.1-SNAPSHOT.jar


13 changes: 11 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,20 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>

<repositories>
<repository>
<id>papermc</id>
<url>https://papermc.io/repo/repository/maven-public/</url>
</repository>
<repository>
<id>elmakers</id>
<url>https://maven.elmakers.com/repository/</url>
</repository>
</repositories>
<parent>
<groupId>org.github.paperspigot</groupId>
<artifactId>paperspigot-parent</artifactId>
<version>dev-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<dependencies>
Expand Down Expand Up @@ -146,6 +154,7 @@
<manifestEntries>
<Main-Class>org.bukkit.craftbukkit.Main</Main-Class>
<Implementation-Title>CraftBukkit</Implementation-Title>
<!--suppress UnresolvedMavenProperty -->
<Implementation-Version>${describe}</Implementation-Version>
<Implementation-Vendor>Bukkit Team</Implementation-Vendor>
<Specification-Title>Bukkit</Specification-Title>
Expand Down

0 comments on commit 6488b9a

Please sign in to comment.