Skip to content

Commit 586a46e

Browse files
authored
Update README.md
1 parent f3881ac commit 586a46e

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# apijson-orm [![](https://jitpack.io/v/APIJSON/apijson-orm.svg)](https://jitpack.io/#APIJSON/apijson-orm)
2-
APIJSON ORM remote dependencies.
2+
APIJSON ORM 库,可通过 Maven, Gradle 等远程依赖。<br />
3+
APIJSON ORM library for remote dependencies with Maven, Gradle, etc.
34

45
### Maven
5-
#### Step 1. Add the JitPack repository to your build file
6+
#### 步骤 1. 在 pom.xml 中添加 JitPack 仓库
7+
#### Step 1. Add the JitPack repository to pom.xml
68
```xml
79
<repositories>
810
<repository>
@@ -11,18 +13,19 @@ APIJSON ORM remote dependencies.
1113
</repository>
1214
</repositories>
1315
```
14-
#### Step 2. Add the dependency
16+
#### 步骤 2. 在 pom.xml 中添加 apijson-orm 依赖
17+
#### Step 2. Add the apijson-orm dependency to pom.xml
1518
```xml
1619
<dependency>
1720
<groupId>com.github.APIJSON</groupId>
1821
<artifactId>apijson-orm</artifactId>
19-
<version>3.9.0</version>
22+
<version>LATEST</version>
2023
</dependency>
2124
```
2225

2326
### Gradle
24-
#### Step 1. Add the JitPack repository to your build file
25-
Add it in your root build.gradle at the end of repositories:
27+
#### 步骤 1. 在项目根目录 build.gradle 中最后添加 JitPack 仓库
28+
#### Step 1. Add the JitPack repository in your root build.gradle at the end of repositories
2629
```gradle
2730
allprojects {
2831
repositories {
@@ -31,9 +34,10 @@ Add it in your root build.gradle at the end of repositories:
3134
}
3235
}
3336
```
34-
#### Step 2. Add the dependency
37+
#### 步骤 1. 在项目某个 module 目录(例如 `app`) build.gradle 中添加 apijson-orm 依赖
38+
#### Step 2. Add the apijson-orm dependency in your one of the modules(such as `app`)
3539
```gradle
3640
dependencies {
37-
implementation 'com.github.APIJSON:apijson-orm:3.9.0'
41+
implementation 'com.github.APIJSON:apijson-orm:latest'
3842
}
3943
```

0 commit comments

Comments
 (0)