no message
This commit is contained in:
parent
6c7fbe0d12
commit
442af20d9b
15
README.MD
15
README.MD
@ -54,7 +54,8 @@ maven {
|
||||
- lastUpdateTime 2025-07-09 23:11:05
|
||||
- lastVersion 1.0.1
|
||||
### maven (pom.xml)
|
||||
```xml<dependency>
|
||||
```xml
|
||||
<dependency>
|
||||
<groupId>com.mingliqiye</groupId>
|
||||
<artifactId>minecraft-SLP</artifactId>
|
||||
<version>1.0.1</version>
|
||||
@ -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<dependency>
|
||||
```xml
|
||||
<dependency>
|
||||
<groupId>com.mingliqiye</groupId>
|
||||
<artifactId>network-endpoint</artifactId>
|
||||
<version>1.0.3</version>
|
||||
@ -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<dependency>
|
||||
```xml
|
||||
<dependency>
|
||||
<groupId>com.mingliqiye</groupId>
|
||||
<artifactId>socket-utilts</artifactId>
|
||||
<version>1.0.6</version>
|
||||
@ -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<dependency>
|
||||
```xml
|
||||
<dependency>
|
||||
<groupId>com.mingliqiye</groupId>
|
||||
<artifactId>string-utilts</artifactId>
|
||||
<version>1.0.4</version>
|
||||
@ -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<dependency>
|
||||
```xml
|
||||
<dependency>
|
||||
<groupId>com.mingliqiye</groupId>
|
||||
<artifactId>tcp-proxy</artifactId>
|
||||
<version>0.1</version>
|
||||
|
@ -23,12 +23,7 @@ class Dependency:
|
||||
return f"implementation '{self.groupId}:{self.artifactId}:{self.version}'"
|
||||
|
||||
def getMaven(self):
|
||||
return f"""<dependency>
|
||||
<groupId>{self.groupId}</groupId>
|
||||
<artifactId>{self.artifactId}</artifactId>
|
||||
<version>{self.version}</version>
|
||||
</dependency>
|
||||
"""
|
||||
return f"<dependency>\n <groupId>{self.groupId}</groupId>\n <artifactId>{self.artifactId}</artifactId>\n <version>{self.version}</version>\n</dependency>"
|
||||
|
||||
|
||||
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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user