Skip to content

Commit 49d7c40

Browse files
authored
Create README.md
1 parent 6ba8f43 commit 49d7c40

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

README.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# apijson-framework [![](https://jitpack.io/v/APIJSON/apijson-framework.svg)](https://jitpack.io/#APIJSON/apijson-framework)
2+
APIJSON 服务端框架,可通过 Maven, Gradle 等远程依赖。<br />
3+
APIJSON Server Framework 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-orm 依赖
19+
#### 2. Add the apijson-orm dependency to pom.xml
20+
```xml
21+
<dependency>
22+
<groupId>com.github.APIJSON</groupId>
23+
<artifactId>apijson-framework</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-orm dependency in one of your modules(such as `app`)
47+
```gradle
48+
dependencies {
49+
implementation 'com.github.APIJSON:apijson-framework:latest'
50+
}
51+
```

0 commit comments

Comments
 (0)