Skip to content

Commit 82da427

Browse files
committed
Java 21 + more
1 parent 590230c commit 82da427

File tree

5 files changed

+25
-11
lines changed

5 files changed

+25
-11
lines changed

.deepsource.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ name = "java"
55
enabled = true
66

77
[analyzers.meta]
8-
runtime_version = "8"
8+
runtime_version = "17"

.github/workflows/maven.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v2
19-
- name: Set up JDK 11
20-
uses: actions/setup-java@v1
21-
with:
22-
java-version: 11
23-
- name: Build with Maven
24-
run: mvn -B package --file pom.xml
18+
- uses: actions/checkout@v4
19+
- name: Set up JDK 17
20+
uses: actions/setup-java@v4
21+
with:
22+
distribution: temurin
23+
java-version: 17
24+
- name: Build with Maven
25+
run: mvn -B package --file pom.xml

.github/workflows/modrinth.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
on:
2+
push:
3+
branches: [ master ]
4+
jobs:
5+
modrinth-desc:
6+
runs-on: 'ubuntu-latest'
7+
steps:
8+
- uses: actions/checkout@v3
9+
- uses: funnyboy-roks/[email protected]
10+
with:
11+
auth-token: ${{ secrets.MODRINTH }}
12+
slug: 'elV2VQSf'

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
<img src="https://img.shields.io/github/v/release/hyperdefined/VelocityBlockVersion" alt="GitHub release (latest by date)">
66
<a href="https://github.com/hyperdefined/VelocityBlockVersion/releases"><img src="https://img.shields.io/github/downloads/hyperdefined/VelocityBlockVersion/total?logo=github" alt="Downloads"></a>
77
<a href="https://ko-fi.com/hyperdefined"><img src="https://img.shields.io/badge/Donate-Ko--fi-red" alt="Donate via Ko-fi"></a>
8+
<img alt="Discord" src="https://img.shields.io/discord/1267600843356639413?style=flat&logo=discord&label=Discord">
89
<a href="https://www.gnu.org/licenses/gpl-3.0"><img src="https://img.shields.io/badge/License-GPLv3-blue.svg" alt="License: GPL v3"></a>
910
</p>
1011

11-
A port of BungeeBlockVersion for Velocity. This plugin will block players from connecting to your network with certain versions.
12+
A Velocity plugin to limit what versions of Minecraft can connect to your server. This plugin blocks versions you do not want.
1213

1314
## Features
1415
* Block players if they are using a version that is on the list.

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<name>VelocityBlockVersion</name>
3030

3131
<properties>
32-
<java.version>11</java.version>
32+
<java.version>17</java.version>
3333
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3434
</properties>
3535

@@ -115,7 +115,7 @@
115115
<dependency>
116116
<groupId>com.velocitypowered</groupId>
117117
<artifactId>velocity-api</artifactId>
118-
<version>3.1.2-SNAPSHOT</version>
118+
<version>3.4.0-SNAPSHOT</version>
119119
<scope>provided</scope>
120120
</dependency>
121121
<dependency>

0 commit comments

Comments
 (0)