Skip to content

Commit e656258

Browse files
committed
新增 APIJSONORM 的远程依赖文档
1 parent c32498b commit e656258

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

APIJSONORM/README.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# APIJSONORM [![](https://jitpack.io/v/Tencent/APIJSON.svg)](https://jitpack.io/#Tencent/APIJSON)
2+
腾讯 [APIJSON](https://github.com/Tencent/APIJSON) ORM 库,可通过 Maven, Gradle 等远程依赖。<br />
3+
Tencent [APIJSON](https://github.com/Tencent/APIJSON) ORM library for remote dependencies with Maven, Gradle, etc.
4+
5+
### Maven
6+
#### 1. 在 pom.xml 中添加 JitPack 仓库
7+
#### 1. Add the JitPack repository to pom.xml
8+
```xml
9+
<repositories>
10+
<repository>
11+
<id>jitpack.io</id>
12+
<url>https://jitpack.io</url>
13+
</repository>
14+
</repositories>
15+
```
16+
<br />
17+
18+
#### 2. 在 pom.xml 中添加 APIJSON 依赖
19+
#### 2. Add the APIJSON dependency to pom.xml
20+
```xml
21+
<dependency>
22+
<groupId>com.github.Tencent</groupId>
23+
<artifactId>APIJSON</artifactId>
24+
<version>LATEST</version>
25+
</dependency>
26+
```
27+
28+
<br />
29+
<br />
30+
<br />
31+
32+
### Gradle
33+
#### 1. 在项目根目录 build.gradle 中最后添加 JitPack 仓库
34+
#### 1. Add the JitPack repository in your root build.gradle at the end of repositories
35+
```gradle
36+
allprojects {
37+
repositories {
38+
...
39+
maven { url 'https://jitpack.io' }
40+
}
41+
}
42+
```
43+
<br />
44+
45+
#### 2. 在项目某个 module 目录(例如 `app`) build.gradle 中添加 apijson-orm 依赖
46+
#### 2. Add the APIJSON dependency in one of your modules(such as `app`)
47+
```gradle
48+
dependencies {
49+
implementation 'com.github.Tencent:APIJSON:latest'
50+
}
51+
```

0 commit comments

Comments
 (0)