generated from mingliqiye/lib-tem
Compare commits
No commits in common. "master" and "Auto-Releases-1.0.2-2a27d11273" have entirely different histories.
master
...
Auto-Relea
@ -1,13 +1,14 @@
|
||||
import java.security.MessageDigest
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Date
|
||||
|
||||
plugins {
|
||||
import java.security.MessageDigest
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Date
|
||||
|
||||
plugins {
|
||||
id("java")
|
||||
id("java-library")
|
||||
id("maven-publish")
|
||||
id("com.github.johnrengelman.shadow") version ("8.1.1")
|
||||
}
|
||||
}
|
||||
|
||||
val GROUPSID = project.properties["GROUPSID"] as String
|
||||
val VERSIONS = project.properties["VERSIONS"] as String
|
||||
@ -132,17 +133,11 @@ tasks.register("build-jar") {
|
||||
dependsOn(tasks["generatePomFileForMavenJavaPublication"])
|
||||
dependsOn(tasks["generateMetadataFileForMavenJavaPublication"])
|
||||
doLast {
|
||||
getHash(libDir.toString(), File(libDir, jarName))
|
||||
getHash(libDir.toString(), File(libDir, fatJarName))
|
||||
getHash(libDir.toString(), File(libDir, srcJarName))
|
||||
getHash(
|
||||
publicationsDir.toString(),
|
||||
File(publicationsDir, "module.json")
|
||||
)
|
||||
getHash(
|
||||
publicationsDir.toString(),
|
||||
File(publicationsDir, "pom-default.xml")
|
||||
)
|
||||
getHash(libDir.toString(),File(libDir, jarName))
|
||||
getHash(libDir.toString(),File(libDir, fatJarName))
|
||||
getHash(libDir.toString(),File(libDir, srcJarName))
|
||||
getHash(publicationsDir.toString(),File(publicationsDir, "module.json"))
|
||||
getHash(publicationsDir.toString(),File(publicationsDir, "pom-default.xml"))
|
||||
}
|
||||
}
|
||||
components {
|
||||
|
@ -1,5 +1,5 @@
|
||||
GROUPSID=com.mingliqiye
|
||||
ARTIFACTID=minecraft-SLP
|
||||
VERSIONS=1.0.3
|
||||
VERSIONS=1.0.2
|
||||
MAINCLASS=com.mingliqiye.minecraftSLP.Main
|
||||
JDKVERSIONS=1.8
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.mingliqiye.minecraftSLP;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
@ -13,8 +14,7 @@ public class MinecraftServerStatus {
|
||||
private boolean previewsChat;
|
||||
private String jsonData;
|
||||
|
||||
public MinecraftServerStatus() {}
|
||||
|
||||
// Getters and Setters
|
||||
public Description getDescription() {
|
||||
return description;
|
||||
}
|
||||
@ -71,13 +71,12 @@ public class MinecraftServerStatus {
|
||||
this.jsonData = jsonData;
|
||||
}
|
||||
|
||||
// Nested Classes
|
||||
public static class Description {
|
||||
|
||||
private String text;
|
||||
private Extra[] extra;
|
||||
|
||||
public Description() {}
|
||||
|
||||
public String getText() {
|
||||
return text;
|
||||
}
|
||||
@ -143,8 +142,6 @@ public class MinecraftServerStatus {
|
||||
private int online;
|
||||
private PlayerSample[] sample;
|
||||
|
||||
public Players() {}
|
||||
|
||||
public int getMax() {
|
||||
return max;
|
||||
}
|
||||
@ -205,8 +202,6 @@ public class MinecraftServerStatus {
|
||||
private String name;
|
||||
private int protocol;
|
||||
|
||||
public Version() {}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
@ -1,88 +1 @@
|
||||
[
|
||||
{
|
||||
"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,10 +1,6 @@
|
||||
{
|
||||
"resources": {
|
||||
"includes": [
|
||||
{
|
||||
"pattern": "\\QMETA-INF/services/java.time.zone.ZoneRulesProvider\\E"
|
||||
}
|
||||
]
|
||||
"includes": []
|
||||
},
|
||||
"bundles": []
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user