no message

This commit is contained in:
Armamem0t 2025-07-10 00:41:11 +08:00
parent 6c7fbe0d12
commit 442af20d9b
Signed by: minglipro
GPG Key ID: 5F355A77B22AA93B
2 changed files with 12 additions and 12 deletions

View File

@ -54,7 +54,8 @@ maven {
- lastUpdateTime 2025-07-09 23:11:05 - lastUpdateTime 2025-07-09 23:11:05
- lastVersion 1.0.1 - lastVersion 1.0.1
### maven (pom.xml) ### maven (pom.xml)
```xml<dependency> ```xml
<dependency>
<groupId>com.mingliqiye</groupId> <groupId>com.mingliqiye</groupId>
<artifactId>minecraft-SLP</artifactId> <artifactId>minecraft-SLP</artifactId>
<version>1.0.1</version> <version>1.0.1</version>
@ -72,7 +73,8 @@ implementation("com.mingliqiye:minecraft-SLP:1.0.1")
- lastUpdateTime 2025-07-09 23:00:05 - lastUpdateTime 2025-07-09 23:00:05
- lastVersion 1.0.3 - lastVersion 1.0.3
### maven (pom.xml) ### maven (pom.xml)
```xml<dependency> ```xml
<dependency>
<groupId>com.mingliqiye</groupId> <groupId>com.mingliqiye</groupId>
<artifactId>network-endpoint</artifactId> <artifactId>network-endpoint</artifactId>
<version>1.0.3</version> <version>1.0.3</version>
@ -90,7 +92,8 @@ implementation("com.mingliqiye:network-endpoint:1.0.3")
- lastUpdateTime 2025-07-05 22:50:19 - lastUpdateTime 2025-07-05 22:50:19
- lastVersion 1.0.6 - lastVersion 1.0.6
### maven (pom.xml) ### maven (pom.xml)
```xml<dependency> ```xml
<dependency>
<groupId>com.mingliqiye</groupId> <groupId>com.mingliqiye</groupId>
<artifactId>socket-utilts</artifactId> <artifactId>socket-utilts</artifactId>
<version>1.0.6</version> <version>1.0.6</version>
@ -108,7 +111,8 @@ implementation("com.mingliqiye:socket-utilts:1.0.6")
- lastUpdateTime 2025-07-05 14:53:52 - lastUpdateTime 2025-07-05 14:53:52
- lastVersion 1.0.4 - lastVersion 1.0.4
### maven (pom.xml) ### maven (pom.xml)
```xml<dependency> ```xml
<dependency>
<groupId>com.mingliqiye</groupId> <groupId>com.mingliqiye</groupId>
<artifactId>string-utilts</artifactId> <artifactId>string-utilts</artifactId>
<version>1.0.4</version> <version>1.0.4</version>
@ -126,7 +130,8 @@ implementation("com.mingliqiye:string-utilts:1.0.4")
- lastUpdateTime 2025-07-05 23:30:53 - lastUpdateTime 2025-07-05 23:30:53
- lastVersion 0.1 - lastVersion 0.1
### maven (pom.xml) ### maven (pom.xml)
```xml<dependency> ```xml
<dependency>
<groupId>com.mingliqiye</groupId> <groupId>com.mingliqiye</groupId>
<artifactId>tcp-proxy</artifactId> <artifactId>tcp-proxy</artifactId>
<version>0.1</version> <version>0.1</version>

View File

@ -23,12 +23,7 @@ class Dependency:
return f"implementation '{self.groupId}:{self.artifactId}:{self.version}'" return f"implementation '{self.groupId}:{self.artifactId}:{self.version}'"
def getMaven(self): def getMaven(self):
return f"""<dependency> return f"<dependency>\n <groupId>{self.groupId}</groupId>\n <artifactId>{self.artifactId}</artifactId>\n <version>{self.version}</version>\n</dependency>"
<groupId>{self.groupId}</groupId>
<artifactId>{self.artifactId}</artifactId>
<version>{self.version}</version>
</dependency>
"""
class Versions(dict): class Versions(dict):
@ -137,7 +132,7 @@ if __name__ == '__main__':
readme += f"- lastVersion {metadata.versioning.latest}\n" readme += f"- lastVersion {metadata.versioning.latest}\n"
dep = Dependency.of(metadata) dep = Dependency.of(metadata)
readme += f"### maven (pom.xml)\n" 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"### Gradle (Groovy DSL - build.gradle)\n"
readme += f"```groovy\n{dep.getGradle()}\n```\n" readme += f"```groovy\n{dep.getGradle()}\n```\n"
readme += f"### Gradle (Kotlin DSL - build.gradle.kts)\n" readme += f"### Gradle (Kotlin DSL - build.gradle.kts)\n"