diff --git a/README.MD b/README.MD index 6a47307..0ec1956 100644 --- a/README.MD +++ b/README.MD @@ -54,7 +54,8 @@ maven { - lastUpdateTime 2025-07-09 23:11:05 - lastVersion 1.0.1 ### maven (pom.xml) -```xml +```xml + com.mingliqiye minecraft-SLP 1.0.1 @@ -72,7 +73,8 @@ implementation("com.mingliqiye:minecraft-SLP:1.0.1") - lastUpdateTime 2025-07-09 23:00:05 - lastVersion 1.0.3 ### maven (pom.xml) -```xml +```xml + com.mingliqiye network-endpoint 1.0.3 @@ -90,7 +92,8 @@ implementation("com.mingliqiye:network-endpoint:1.0.3") - lastUpdateTime 2025-07-05 22:50:19 - lastVersion 1.0.6 ### maven (pom.xml) -```xml +```xml + com.mingliqiye socket-utilts 1.0.6 @@ -108,7 +111,8 @@ implementation("com.mingliqiye:socket-utilts:1.0.6") - lastUpdateTime 2025-07-05 14:53:52 - lastVersion 1.0.4 ### maven (pom.xml) -```xml +```xml + com.mingliqiye string-utilts 1.0.4 @@ -126,7 +130,8 @@ implementation("com.mingliqiye:string-utilts:1.0.4") - lastUpdateTime 2025-07-05 23:30:53 - lastVersion 0.1 ### maven (pom.xml) -```xml +```xml + com.mingliqiye tcp-proxy 0.1 diff --git a/update/update.py b/update/update.py index 6ac6e04..7fa789a 100644 --- a/update/update.py +++ b/update/update.py @@ -23,12 +23,7 @@ class Dependency: return f"implementation '{self.groupId}:{self.artifactId}:{self.version}'" def getMaven(self): - return f""" - {self.groupId} - {self.artifactId} - {self.version} - -""" + return f"\n {self.groupId}\n {self.artifactId}\n {self.version}\n" class Versions(dict): @@ -137,7 +132,7 @@ if __name__ == '__main__': readme += f"- lastVersion {metadata.versioning.latest}\n" dep = Dependency.of(metadata) readme += f"### maven (pom.xml)\n" - readme += f"```xml{dep.getMaven()}```\n" + readme += f"```xml\n{dep.getMaven()}\n```\n" readme += f"### Gradle (Groovy DSL - build.gradle)\n" readme += f"```groovy\n{dep.getGradle()}\n```\n" readme += f"### Gradle (Kotlin DSL - build.gradle.kts)\n"