File tree 4 files changed +15
-16
lines changed
4 files changed +15
-16
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ jobs:
11
11
12
12
steps :
13
13
- uses : actions/checkout@v4
14
- - name : Set up JDK 11
14
+ - name : Set up JDK 17
15
15
uses : actions/setup-java@v4
16
16
with :
17
17
distribution : ' adopt'
18
- java-version : ' 11 '
18
+ java-version : ' 17 '
19
19
- name : Set RELEASE_VERSION from tag
20
20
run : echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
21
21
- name : Print version
25
25
run : mvn -B package --file pom.xml
26
26
- name : Upload artifact
27
27
uses : actions/upload-artifact@v4
28
- with :
28
+ with :
29
29
name : target
30
30
path : ${{ github.workspace }}/target/**/*
31
31
- name : Extract changelog content
Original file line number Diff line number Diff line change @@ -13,15 +13,15 @@ jobs:
13
13
14
14
steps :
15
15
- uses : actions/checkout@v4
16
- - name : Set up JDK 11
16
+ - name : Set up JDK 17
17
17
uses : actions/setup-java@v4
18
18
with :
19
19
distribution : ' adopt'
20
- java-version : ' 11 '
20
+ java-version : ' 17 '
21
21
- name : Build with Maven
22
22
run : mvn -B package --file pom.xml
23
23
- name : Upload artifact
24
24
uses : actions/upload-artifact@v4
25
- with :
25
+ with :
26
26
name : target
27
27
path : ${{ github.workspace }}/target/**/*
Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ services:
8
8
TYPE : " PAPER"
9
9
VERSION : " 1.20.4"
10
10
PLUGINS : |
11
- https://github.com/sladkoff/minecraft-prometheus-exporter/releases/download/v2.5 .0/minecraft-prometheus-exporter-2.5 .0.jar
11
+ https://github.com/sladkoff/minecraft-prometheus-exporter/releases/download/v2.6 .0/minecraft-prometheus-exporter-2.6 .0.jar
12
12
13
13
ports :
14
14
- " 25565:25565"
15
- - " 9225:9225 "
15
+ - " 9940:9940 "
16
16
volumes :
17
17
- ./docker/data:/data
18
18
stdin_open : true
Original file line number Diff line number Diff line change 10
10
<packaging >jar</packaging >
11
11
12
12
<properties >
13
- <spigot -api .version>1.20.4-R0.1-SNAPSHOT</spigot -api .version>
13
+ <paper -api .version>1.20.4-R0.1-SNAPSHOT</paper -api .version>
14
14
<jetty .version>11.0.20</jetty .version>
15
15
<prometheus-client .version>0.16.0</prometheus-client .version>
16
16
<json-path .version>2.9.0</json-path .version>
28
28
29
29
<repositories >
30
30
<repository >
31
- <id >spigot-repo </id >
32
- <url >https://hub.spigotmc.org/nexus/content/repositories/snapshots /</url >
31
+ <id >papermc </id >
32
+ <url >https://repo.papermc.io/repository/maven-public /</url >
33
33
</repository >
34
34
</repositories >
35
35
36
36
<dependencies >
37
37
<dependency >
38
- <groupId >org.spigotmc </groupId >
39
- <artifactId >spigot -api</artifactId >
40
- <version >${spigot -api.version} </version >
38
+ <groupId >io.papermc.paper </groupId >
39
+ <artifactId >paper -api</artifactId >
40
+ <version >${paper -api.version} </version >
41
41
<scope >provided</scope >
42
42
</dependency >
43
43
<dependency >
101
101
<artifactId >maven-compiler-plugin</artifactId >
102
102
<version >${maven-compiler-plugin.version} </version >
103
103
<configuration >
104
- <source >1.8</source >
105
- <target >1.8</target >
104
+ <release >17</release >
106
105
</configuration >
107
106
</plugin >
108
107
<plugin >
You can’t perform that action at this time.
0 commit comments