Skip to content

Commit 2c71cb0

Browse files
committed
Add ReflectionHelper submodule and update build workflow
1 parent fd85503 commit 2c71cb0

5 files changed

Lines changed: 23 additions & 6 deletions

File tree

.github/workflows/maven.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,20 @@ jobs:
66
build:
77

88
runs-on: ubuntu-latest
9-
109
steps:
11-
- uses: actions/checkout@v1
12-
- name: Set up JDK 11
13-
uses: actions/setup-java@v1
10+
- uses: actions/checkout@v5
11+
with:
12+
submodules: recursive
13+
- name: Set up JDK 21
14+
uses: actions/setup-java@v5
1415
with:
15-
java-version: 11
16+
java-version: 21
17+
distribution: 'temurin'
18+
cache: 'maven'
1619
- name: Build with Maven
17-
run: mvn package --file pom.xml
20+
run: mvn -B package --file pom.xml
21+
- name: Upload Artifact
22+
uses: actions/upload-artifact@v4
23+
with:
24+
name: PacketListenerAPI
25+
path: Plugin/target/PacketListenerAPI_v*.jar

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.idea
2+
*.iml
3+
target
4+
dependency-reduced-pom.xml

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "ReflectionHelper"]
2+
path = ReflectionHelper
3+
url = https://github.com/Cytooxien/ReflectionHelper.git

ReflectionHelper

Submodule ReflectionHelper added at d9132b8

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<modules>
1212
<module>API</module>
1313
<module>Plugin</module>
14+
<module>ReflectionHelper</module>
1415
</modules>
1516
<name>PacketListenerAPI</name>
1617

0 commit comments

Comments
 (0)