1
mirror of https://github.com/CarmJos/GithubReleases4J.git synced 2024-09-19 13:45:45 +00:00

Update README.md

This commit is contained in:
Carm Jos 2022-02-07 20:05:42 +08:00 committed by GitHub
parent 8bf0d98c00
commit 4cc891edc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,21 +50,32 @@ To provide an easy way to fetch updates and download assets.
<project> <project>
<repositories> <repositories>
<repository>
<!--Using central repository-->
<id>maven</id>
<name>Maven Central</name>
<url>https://repo1.maven.org/maven2</url>
</repository>
<repository> <repository>
<!--Using github packages--> <!--Using github packages-->
<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>
</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>
@ -77,6 +88,9 @@ To provide an easy way to fetch updates and download assets.
```groovy ```groovy
repositories { repositories {
mavenCentral() // Using central repository.
// Using github packages. // Using github packages.
maven { url 'https://maven.pkg.github.com/CarmJos/GithubReleases4J' } maven { url 'https://maven.pkg.github.com/CarmJos/GithubReleases4J' }
} }