Compare commits
18 Commits
04d8e66e3b
...
renovate/s
Author | SHA1 | Date | |
---|---|---|---|
89fa19d9ad | |||
acd87f9741 | |||
7a482a2b7f | |||
9ce3f867d4 | |||
5af9d1099e | |||
abac8f6b57 | |||
94b9df0ec8 | |||
44a216c928 | |||
3eec5d30a6 | |||
fe2e19f953 | |||
190c41ba90 | |||
3c7ba27953 | |||
24770bf2a9 | |||
50573fed45 | |||
805c09d31d | |||
0ae5b94124 | |||
5f4722e079 | |||
de71477c98 |
@ -23,7 +23,7 @@ jobs:
|
|||||||
|
|
||||||
# Setup Java and Maven
|
# Setup Java and Maven
|
||||||
- name: Set up JDK and Maven
|
- name: Set up JDK and Maven
|
||||||
uses: s4u/setup-maven-action@v1.12.0
|
uses: s4u/setup-maven-action@v1.15.0
|
||||||
with:
|
with:
|
||||||
java-version: ${{ matrix.java-version }}
|
java-version: ${{ matrix.java-version }}
|
||||||
distribution: "zulu"
|
distribution: "zulu"
|
||||||
|
12
pom.xml
12
pom.xml
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>xyz.mcutils</groupId>
|
<groupId>xyz.mcutils</groupId>
|
||||||
<artifactId>mcutils-java-library</artifactId>
|
<artifactId>mcutils-java-library</artifactId>
|
||||||
<version>1.2.2</version>
|
<version>1.2.4</version>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<maven.compiler.source>17</maven.compiler.source>
|
<maven.compiler.source>17</maven.compiler.source>
|
||||||
@ -52,7 +52,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.google.code.gson</groupId>
|
<groupId>com.google.code.gson</groupId>
|
||||||
<artifactId>gson</artifactId>
|
<artifactId>gson</artifactId>
|
||||||
<version>2.10.1</version>
|
<version>2.11.0</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
@ -60,13 +60,13 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework</groupId>
|
<groupId>org.springframework</groupId>
|
||||||
<artifactId>spring-web</artifactId>
|
<artifactId>spring-web</artifactId>
|
||||||
<version>6.1.6</version>
|
<version>6.1.13</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.httpcomponents.client5</groupId>
|
<groupId>org.apache.httpcomponents.client5</groupId>
|
||||||
<artifactId>httpclient5</artifactId>
|
<artifactId>httpclient5</artifactId>
|
||||||
<version>5.3.1</version>
|
<version>5.4</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
@ -74,13 +74,13 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.junit.jupiter</groupId>
|
<groupId>org.junit.jupiter</groupId>
|
||||||
<artifactId>junit-jupiter-engine</artifactId>
|
<artifactId>junit-jupiter-engine</artifactId>
|
||||||
<version>5.10.3</version>
|
<version>5.11.1</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.junit.jupiter</groupId>
|
<groupId>org.junit.jupiter</groupId>
|
||||||
<artifactId>junit-jupiter-api</artifactId>
|
<artifactId>junit-jupiter-api</artifactId>
|
||||||
<version>5.10.3</version>
|
<version>5.11.1</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
@ -44,8 +44,8 @@ public class MinecraftServer {
|
|||||||
*/
|
*/
|
||||||
private GeoLocation location;
|
private GeoLocation location;
|
||||||
|
|
||||||
@AllArgsConstructor @Getter
|
@Getter
|
||||||
private static class MOTD {
|
public static class MOTD {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The raw motd lines
|
* The raw motd lines
|
||||||
@ -72,7 +72,7 @@ public class MinecraftServer {
|
|||||||
* Player count data for a server.
|
* Player count data for a server.
|
||||||
*/
|
*/
|
||||||
@Getter
|
@Getter
|
||||||
private static class Players {
|
public static class Players {
|
||||||
/**
|
/**
|
||||||
* The online players on this server.
|
* The online players on this server.
|
||||||
*/
|
*/
|
||||||
@ -108,31 +108,31 @@ public class MinecraftServer {
|
|||||||
/**
|
/**
|
||||||
* The location of the server.
|
* The location of the server.
|
||||||
*/
|
*/
|
||||||
@AllArgsConstructor @Getter
|
@Getter
|
||||||
public static class GeoLocation {
|
public static class GeoLocation {
|
||||||
/**
|
/**
|
||||||
* The country of the server.
|
* The country of the server.
|
||||||
*/
|
*/
|
||||||
private final String country;
|
private String country;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The region of the server.
|
* The region of the server.
|
||||||
*/
|
*/
|
||||||
private final String region;
|
private String region;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The city of the server.
|
* The city of the server.
|
||||||
*/
|
*/
|
||||||
private final String city;
|
private String city;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The latitude of the server.
|
* The latitude of the server.
|
||||||
*/
|
*/
|
||||||
private final double latitude;
|
private double latitude;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The longitude of the server.
|
* The longitude of the server.
|
||||||
*/
|
*/
|
||||||
private final double longitude;
|
private double longitude;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user