generated from mingliqiye/lib-tem
This commit is contained in:
parent
2a27d11273
commit
2fef29c1c2
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
import java.security.MessageDigest
|
import java.security.MessageDigest
|
||||||
import java.text.SimpleDateFormat
|
import java.text.SimpleDateFormat
|
||||||
import java.util.Date
|
import java.util.Date
|
||||||
@ -136,8 +135,14 @@ tasks.register("build-jar") {
|
|||||||
getHash(libDir.toString(), File(libDir, jarName))
|
getHash(libDir.toString(), File(libDir, jarName))
|
||||||
getHash(libDir.toString(), File(libDir, fatJarName))
|
getHash(libDir.toString(), File(libDir, fatJarName))
|
||||||
getHash(libDir.toString(), File(libDir, srcJarName))
|
getHash(libDir.toString(), File(libDir, srcJarName))
|
||||||
getHash(publicationsDir.toString(),File(publicationsDir, "module.json"))
|
getHash(
|
||||||
getHash(publicationsDir.toString(),File(publicationsDir, "pom-default.xml"))
|
publicationsDir.toString(),
|
||||||
|
File(publicationsDir, "module.json")
|
||||||
|
)
|
||||||
|
getHash(
|
||||||
|
publicationsDir.toString(),
|
||||||
|
File(publicationsDir, "pom-default.xml")
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
components {
|
components {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
GROUPSID=com.mingliqiye
|
GROUPSID=com.mingliqiye
|
||||||
ARTIFACTID=minecraft-SLP
|
ARTIFACTID=minecraft-SLP
|
||||||
VERSIONS=1.0.2
|
VERSIONS=1.0.3
|
||||||
MAINCLASS=com.mingliqiye.minecraftSLP.Main
|
MAINCLASS=com.mingliqiye.minecraftSLP.Main
|
||||||
JDKVERSIONS=1.8
|
JDKVERSIONS=1.8
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
package com.mingliqiye.minecraftSLP;
|
package com.mingliqiye.minecraftSLP;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@ -14,7 +13,8 @@ public class MinecraftServerStatus {
|
|||||||
private boolean previewsChat;
|
private boolean previewsChat;
|
||||||
private String jsonData;
|
private String jsonData;
|
||||||
|
|
||||||
// Getters and Setters
|
public MinecraftServerStatus() {}
|
||||||
|
|
||||||
public Description getDescription() {
|
public Description getDescription() {
|
||||||
return description;
|
return description;
|
||||||
}
|
}
|
||||||
@ -71,12 +71,13 @@ public class MinecraftServerStatus {
|
|||||||
this.jsonData = jsonData;
|
this.jsonData = jsonData;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Nested Classes
|
|
||||||
public static class Description {
|
public static class Description {
|
||||||
|
|
||||||
private String text;
|
private String text;
|
||||||
private Extra[] extra;
|
private Extra[] extra;
|
||||||
|
|
||||||
|
public Description() {}
|
||||||
|
|
||||||
public String getText() {
|
public String getText() {
|
||||||
return text;
|
return text;
|
||||||
}
|
}
|
||||||
@ -142,6 +143,8 @@ public class MinecraftServerStatus {
|
|||||||
private int online;
|
private int online;
|
||||||
private PlayerSample[] sample;
|
private PlayerSample[] sample;
|
||||||
|
|
||||||
|
public Players() {}
|
||||||
|
|
||||||
public int getMax() {
|
public int getMax() {
|
||||||
return max;
|
return max;
|
||||||
}
|
}
|
||||||
@ -202,6 +205,8 @@ public class MinecraftServerStatus {
|
|||||||
private String name;
|
private String name;
|
||||||
private int protocol;
|
private int protocol;
|
||||||
|
|
||||||
|
public Version() {}
|
||||||
|
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
@ -1 +1,88 @@
|
|||||||
[]
|
[
|
||||||
|
{
|
||||||
|
"name": "[Lcom.mingliqiye.minecraftSLP.MinecraftServerStatus$Description$Extra;"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "[Lcom.mingliqiye.minecraftSLP.MinecraftServerStatus$Players$PlayerSample;"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.fasterxml.jackson.databind.ext.Java7SupportImpl",
|
||||||
|
"methods": [{ "name": "<init>", "parameterTypes": [] }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.mingliqiye.minecraftSLP.MinecraftServerStatus",
|
||||||
|
"allDeclaredFields": true,
|
||||||
|
"queryAllDeclaredMethods": true,
|
||||||
|
"queryAllDeclaredConstructors": true,
|
||||||
|
"methods": [
|
||||||
|
{ "name": "<init>", "parameterTypes": [] },
|
||||||
|
{
|
||||||
|
"name": "setDescription",
|
||||||
|
"parameterTypes": [
|
||||||
|
"com.mingliqiye.minecraftSLP.MinecraftServerStatus$Description"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{ "name": "setEnforcesSecureChat", "parameterTypes": ["boolean"] },
|
||||||
|
{
|
||||||
|
"name": "setPlayers",
|
||||||
|
"parameterTypes": [
|
||||||
|
"com.mingliqiye.minecraftSLP.MinecraftServerStatus$Players"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "setVersion",
|
||||||
|
"parameterTypes": [
|
||||||
|
"com.mingliqiye.minecraftSLP.MinecraftServerStatus$Version"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.mingliqiye.minecraftSLP.MinecraftServerStatus$Description",
|
||||||
|
"allDeclaredFields": true,
|
||||||
|
"queryAllDeclaredMethods": true,
|
||||||
|
"queryAllDeclaredConstructors": true,
|
||||||
|
"methods": [
|
||||||
|
{ "name": "<init>", "parameterTypes": [] },
|
||||||
|
{ "name": "setText", "parameterTypes": ["java.lang.String"] }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.mingliqiye.minecraftSLP.MinecraftServerStatus$Description$Extra",
|
||||||
|
"allDeclaredFields": true,
|
||||||
|
"queryAllDeclaredMethods": true,
|
||||||
|
"queryAllDeclaredConstructors": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.mingliqiye.minecraftSLP.MinecraftServerStatus$Players",
|
||||||
|
"allDeclaredFields": true,
|
||||||
|
"queryAllDeclaredMethods": true,
|
||||||
|
"queryAllDeclaredConstructors": true,
|
||||||
|
"methods": [
|
||||||
|
{ "name": "<init>", "parameterTypes": [] },
|
||||||
|
{ "name": "setMax", "parameterTypes": ["int"] },
|
||||||
|
{ "name": "setOnline", "parameterTypes": ["int"] }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.mingliqiye.minecraftSLP.MinecraftServerStatus$Players$PlayerSample",
|
||||||
|
"allDeclaredFields": true,
|
||||||
|
"queryAllDeclaredMethods": true,
|
||||||
|
"queryAllDeclaredConstructors": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.mingliqiye.minecraftSLP.MinecraftServerStatus$Version",
|
||||||
|
"allDeclaredFields": true,
|
||||||
|
"queryAllDeclaredMethods": true,
|
||||||
|
"queryAllDeclaredConstructors": true,
|
||||||
|
"methods": [
|
||||||
|
{ "name": "<init>", "parameterTypes": [] },
|
||||||
|
{ "name": "setName", "parameterTypes": ["java.lang.String"] },
|
||||||
|
{ "name": "setProtocol", "parameterTypes": ["int"] }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "java.util.concurrent.atomic.AtomicReference",
|
||||||
|
"fields": [{ "name": "value" }]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
{
|
{
|
||||||
"resources": {
|
"resources": {
|
||||||
"includes": []
|
"includes": [
|
||||||
|
{
|
||||||
|
"pattern": "\\QMETA-INF/services/java.time.zone.ZoneRulesProvider\\E"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"bundles": []
|
"bundles": []
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user