Skip to content

Commit e17fe75

Browse files
authored
Merge pull request #103 from CatCoderr/chore/updateDeps
Update all Dependencies
2 parents 9c77935 + e7291d9 commit e17fe75

File tree

4 files changed

+46
-23
lines changed

4 files changed

+46
-23
lines changed

.github/workflows/build.yaml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,22 @@
1-
name: Build
1+
name: Java CI with Gradle
22

33
on: [ push ]
44

55
jobs:
66
build:
77
runs-on: ubuntu-latest
8-
98
steps:
10-
- uses: actions/checkout@v4
11-
9+
- uses: actions/checkout@v5
1210
- name: Set up JDK 17
13-
uses: actions/setup-java@v3
11+
uses: actions/setup-java@v4
1412
with:
1513
java-version: '17'
1614
distribution: 'adopt'
1715
cache: 'gradle'
18-
1916
- name: Build with Gradle
2017
run: ./gradlew test build --no-daemon
21-
22-
- name: Publish with Gradle
23-
if: github.ref == 'refs/heads/master'
24-
env:
25-
GPG_PASSPHRASE: ${{ secrets.GPG_KEY_PASSPHRASE }}
26-
GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }}
27-
USERNAME: ${{ secrets.REPO_USER }}
28-
TOKEN: ${{ secrets.REPO_TOKEN }}
29-
30-
run: ./gradlew publish --no-daemon
18+
- name: Upload Artifacts
19+
uses: actions/upload-artifact@v4
20+
with:
21+
name: ProtocolSidebar
22+
path: build/libs/

.github/workflows/publish.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Release to Repo
2+
3+
on:
4+
workflow_dispatch: { }
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v5
12+
13+
- name: Set up JDK 17
14+
uses: actions/setup-java@v4
15+
with:
16+
java-version: '17'
17+
distribution: 'adopt'
18+
cache: 'gradle'
19+
20+
- name: Build with Gradle
21+
run: ./gradlew test build --no-daemon
22+
23+
- name: Publish with Gradle
24+
if: github.ref == 'refs/heads/master'
25+
env:
26+
GPG_PASSPHRASE: ${{ secrets.GPG_KEY_PASSPHRASE }}
27+
GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }}
28+
USERNAME: ${{ secrets.REPO_USER }}
29+
TOKEN: ${{ secrets.REPO_TOKEN }}
30+
31+
run: ./gradlew publish --no-daemon

build.gradle.kts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ group = "me.catcoder"
88
version = "6.2.10-SNAPSHOT"
99
description = "Powerful feature-packed Minecraft scoreboard library"
1010

11-
val adventureVersion = "4.16.0"
12-
val paperVersion = "1.20.1-R0.1-SNAPSHOT"
13-
val viaVersionVersion = "5.0.0"
14-
val viaNBTVersion = "5.0.2"
11+
val adventureVersion = "4.25.0"
12+
val paperVersion = "1.20.4-R0.1-SNAPSHOT"
13+
val viaVersionVersion = "5.5.1"
14+
val viaNBTVersion = "5.1.2"
1515
val miniPlaceholdersVersion = "2.2.3"
16-
val lombokVersion = "1.18.30"
16+
val lombokVersion = "1.18.42"
1717
val foliaLibVersion = "0.5.1"
1818

1919
allprojects {
@@ -33,7 +33,7 @@ allprojects {
3333
}
3434
dependencies {
3535
testImplementation("junit:junit:4.13.2")
36-
testImplementation("org.mockito:mockito-core:5.7.0")
36+
testImplementation("org.mockito:mockito-core:5.20.0")
3737
testImplementation("org.powermock:powermock-module-junit4:2.0.9")
3838
testImplementation("org.powermock:powermock-api-mockito2:2.0.9")
3939

server/docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ services:
99
environment:
1010
EULA: "TRUE"
1111
TYPE: "PAPER"
12-
VERSION: "1.20.4"
12+
VERSION: "1.21.8"
1313
JAVA_TOOL_OPTIONS: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"
1414
tty: true
1515
stdin_open: true

0 commit comments

Comments
 (0)