1
mirror of https://github.com/CarmJos/GithubReleases4J.git synced 2026-06-04 21:18:16 +08:00

Update README_zh_CN.md

This commit is contained in:
2022-02-07 20:04:46 +08:00
committed by GitHub
parent df72460044
commit 8bf0d98c00
+17 -1
View File
@@ -41,27 +41,39 @@ GitHub Releases for Java , 基于 [GitHub REST API](https://docs.github.com/cn/r
<project> <project>
<repositories> <repositories>
<repository>
<!--采用Maven中心库,安全稳定,但版本更新需要等待同步-->
<id>maven</id>
<name>Maven Central</name>
<url>https://repo1.maven.org/maven2</url>
</repository>
<repository> <repository>
<!--采用github依赖库,安全稳定,但需要配置 (推荐)--> <!--采用github依赖库,安全稳定,但需要配置 (推荐)-->
<id>GithubReleases4J</id> <id>GithubReleases4J</id>
<name>GitHub Packages</name> <name>GitHub Packages</name>
<url>https://maven.pkg.github.com/CarmJos/GithubReleases4J</url> <url>https://maven.pkg.github.com/CarmJos/GithubReleases4J</url>
</repository> </repository>
<repository> <repository>
<!--采用我的私人依赖库,简单方便,但可能因为变故而无法使用--> <!--采用我的私人依赖库,简单方便,但可能因为变故而无法使用-->
<id>carm-repo</id> <id>carm-repo</id>
<name>Carm's Repo</name> <name>Carm's Repo</name>
<url>https://repo.carm.cc/repository/maven-public/</url> <url>https://repo.carm.cc/repository/maven-public/</url>
</repository> </repository>
</repositories> </repositories>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>cc.carm.lib</groupId> <groupId>cc.carm.lib</groupId>
<artifactId>githubreleases4j</artifactId> <artifactId>githubreleases4j</artifactId>
<version>[LATEST RELEASE]</version> <version>[LATEST RELEASE]</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
</dependencies> </dependencies>
</project> </project>
@@ -74,6 +86,10 @@ GitHub Releases for Java , 基于 [GitHub REST API](https://docs.github.com/cn/r
```groovy ```groovy
repositories { repositories {
// 采用Maven中心库,安全稳定,但版本更新需要等待同步
mavenCentral()
// 采用github依赖库,安全稳定,但需要配置 (推荐) // 采用github依赖库,安全稳定,但需要配置 (推荐)
maven { url 'https://maven.pkg.github.com/CarmJos/GithubReleases4J' } maven { url 'https://maven.pkg.github.com/CarmJos/GithubReleases4J' }
@@ -115,4 +131,4 @@ dependencies {
> MIT 协议是所有开源许可中最宽松的一个,除了必须包含许可声明外,再无任何限制。 > MIT 协议是所有开源许可中最宽松的一个,除了必须包含许可声明外,再无任何限制。
> >
> *以上文字来自 [五种开源协议GPL,LGPL,BSD,MIT,Apache](https://www.oschina.net/question/54100_9455) 。* > *以上文字来自 [五种开源协议GPL,LGPL,BSD,MIT,Apache](https://www.oschina.net/question/54100_9455) 。*
</details> </details>