diff --git a/README.md b/README.md index b35f2b9..6dea208 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,17 @@ JDK版本:1.8及以上,推荐JDK 11及以上 ## 使用说明 -> 待补充,先留个坑 +### 在项目中引用mywust-core + +目前该项目发布在Github Package上,如遇网络问题请自备工具解决 + +关于如何在自己的项目中引用: + +- Maven项目请参阅:[使用 Apache Maven 注册表](https://docs.github.com/zh/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry) + +- Gradle项目请参阅:[使用 Gradle 注册表](https://docs.github.com/zh/packages/working-with-a-github-packages-registry/working-with-the-gradle-registry) + +~~未来有可能会考虑自建Maven仓库~~ ## 目录规范 diff --git a/mywust-core/pom.xml b/mywust-core/pom.xml index ad249d9..feb773a 100644 --- a/mywust-core/pom.xml +++ b/mywust-core/pom.xml @@ -5,7 +5,7 @@ mywust cn.linghang - 0.0.1-dev + 0.0.1-SNAPSHOT 4.0.0 @@ -14,13 +14,13 @@ cn.linghang mywust-network - 0.0.1-dev + 0.0.1-SNAPSHOT compile cn.linghang mywust-util - 0.0.1-dev + 0.0.1-SNAPSHOT @@ -52,7 +52,7 @@ cn.linghang mywust-model - 0.0.1-dev + 0.0.1-SNAPSHOT compile diff --git a/mywust-model/pom.xml b/mywust-model/pom.xml index 3ede8a2..96cf158 100644 --- a/mywust-model/pom.xml +++ b/mywust-model/pom.xml @@ -5,7 +5,7 @@ mywust cn.linghang - 0.0.1-dev + 0.0.1-SNAPSHOT 4.0.0 diff --git a/mywust-network-httpclient/pom.xml b/mywust-network-httpclient/pom.xml index aee591a..136ac6b 100644 --- a/mywust-network-httpclient/pom.xml +++ b/mywust-network-httpclient/pom.xml @@ -13,5 +13,12 @@ 11 UTF-8 - + + + + github + GitHub LingHangStudio Apache Maven Packages + https://maven.pkg.github.com/LingHangStudio/mywust + + \ No newline at end of file diff --git a/mywust-network-okhttp/pom.xml b/mywust-network-okhttp/pom.xml index a7459bc..30d97eb 100644 --- a/mywust-network-okhttp/pom.xml +++ b/mywust-network-okhttp/pom.xml @@ -52,14 +52,21 @@ cn.linghang mywust-network - 0.0.1-dev + 0.0.1-SNAPSHOT cn.linghang mywust-util - 0.0.1-dev + 0.0.1-SNAPSHOT compile + + + github + GitHub LingHangStudio Apache Maven Packages + https://maven.pkg.github.com/LingHangStudio/mywust + + \ No newline at end of file diff --git a/mywust-network/pom.xml b/mywust-network/pom.xml index 9ec51dc..f5fd847 100644 --- a/mywust-network/pom.xml +++ b/mywust-network/pom.xml @@ -5,7 +5,7 @@ mywust cn.linghang - 0.0.1-dev + 0.0.1-SNAPSHOT 4.0.0 @@ -26,7 +26,7 @@ cn.linghang mywust-util - 0.0.1-dev + 0.0.1-SNAPSHOT compile diff --git a/mywust-test/pom.xml b/mywust-test/pom.xml index 589a70b..5d73425 100644 --- a/mywust-test/pom.xml +++ b/mywust-test/pom.xml @@ -11,7 +11,7 @@ cn.linghang mywust-core - 0.0.1-dev + 0.0.1-SNAPSHOT test diff --git a/mywust-util/pom.xml b/mywust-util/pom.xml index 43cee42..04b9193 100644 --- a/mywust-util/pom.xml +++ b/mywust-util/pom.xml @@ -5,7 +5,7 @@ mywust cn.linghang - 0.0.1-dev + 0.0.1-SNAPSHOT 4.0.0 diff --git a/pom.xml b/pom.xml index 02c5871..1916d79 100644 --- a/pom.xml +++ b/pom.xml @@ -7,27 +7,29 @@ cn.linghang mywust pom - 0.0.1-dev + 0.0.1-SNAPSHOT + mywust-core mywust-model mywust-network mywust-util + mywust-network-httpclient + mywust-network-okhttp - - - org.jetbrains.externalAnnotations.junit - junit - 4.12-an1 - test - - - 11 11 UTF-8 + + + + github + GitHub LingHangStudio Apache Maven Packages + https://maven.pkg.github.com/LingHangStudio/mywust + + \ No newline at end of file