mirror of
https://github.com/CarmJos/UltraDepository.git
synced 2024-09-19 19:55:45 +00:00
添加依赖方式介绍
This commit is contained in:
parent
d0361c260d
commit
62c8350b8b
@ -11,10 +11,6 @@
|
|||||||
|
|
||||||
# UltraDepository 帮助介绍文档
|
# UltraDepository 帮助介绍文档
|
||||||
|
|
||||||
## [开发文档](JAVADOC-README.md)
|
|
||||||
|
|
||||||
基于 [Github Pages](https://pages.github.com/) 搭建,请访问 [JavaDoc](https://carmjos.github.io/UltraDepository) 。
|
|
||||||
|
|
||||||
## 插件介绍目录
|
## 插件介绍目录
|
||||||
|
|
||||||
- 使用示例
|
- 使用示例
|
||||||
@ -25,3 +21,62 @@
|
|||||||
- [MySQL格式](../.examples/userdata/database.sql)
|
- [MySQL格式](../.examples/userdata/database.sql)
|
||||||
- [开发](develop)
|
- [开发](develop)
|
||||||
- [自定义存储源](develop/use-custome-storage.md)
|
- [自定义存储源](develop/use-custome-storage.md)
|
||||||
|
|
||||||
|
|
||||||
|
## [开发文档](JAVADOC-README.md)
|
||||||
|
|
||||||
|
基于 [Github Pages](https://pages.github.com/) 搭建,请访问 [JavaDoc](https://carmjos.github.io/UltraDepository) 。
|
||||||
|
|
||||||
|
## 依赖方式
|
||||||
|
|
||||||
|
### Maven 依赖
|
||||||
|
|
||||||
|
```xml
|
||||||
|
|
||||||
|
<project>
|
||||||
|
<repositories>
|
||||||
|
|
||||||
|
<repository>
|
||||||
|
<!--采用github依赖库,安全稳定,但需要配置 (推荐)-->
|
||||||
|
<id>UltraDepository</id>
|
||||||
|
<name>GitHub Packages</name>
|
||||||
|
<url>https://maven.pkg.github.com/CarmJos/UltraDepository</url>
|
||||||
|
</repository>
|
||||||
|
|
||||||
|
<repository>
|
||||||
|
<!--采用我的私人依赖库,简单方便,但可能因为变故而无法使用-->
|
||||||
|
<id>carm-repo</id>
|
||||||
|
<name>Carm's Repo</name>
|
||||||
|
<url>https://repo.carm.cc/repository/maven-public/</url>
|
||||||
|
</repository>
|
||||||
|
|
||||||
|
</repositories>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>cc.carm.plugin</groupId>
|
||||||
|
<artifactId>ultradepository</artifactId>
|
||||||
|
<version>[LATEST RELEASE]</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
</dependencies>
|
||||||
|
</project>
|
||||||
|
```
|
||||||
|
|
||||||
|
### Gradle 依赖
|
||||||
|
|
||||||
|
```groovy
|
||||||
|
repositories {
|
||||||
|
// 采用github依赖库,安全稳定,但需要配置 (推荐)
|
||||||
|
maven { url 'https://maven.pkg.github.com/CarmJos/EasyPlugin' }
|
||||||
|
|
||||||
|
// 采用我的私人依赖库,简单方便,但可能因为变故而无法使用
|
||||||
|
maven { url 'https://repo.carm.cc/repository/maven-public/' }
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
compileOnly "cc.carm.plugin:ultradepository:[LATEST RELEASE]"
|
||||||
|
}
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user