Skip to content

Commit

Permalink
Merge pull request #109 from cryptape/hotfix-doc-shadow
Browse files Browse the repository at this point in the history
doc: Add comment of packing jar package locally
  • Loading branch information
duanyytop authored Apr 22, 2019
2 parents b5eddca + ce1e156 commit 5fca12d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ compile 'com.cryptape.cita:core:0.22.3'

Install manually
If you want to generate the jar and import manually.

> Because uploading jar package to maven server and packing jar package locally through `shadowJar` command have conflicts, you
> should add `apply plugin: 'com.github.johnrengelman.shadow'` of `console/bulid.gradle` when packing locally.(It's annotated by default)
```
git clone https://github.com/cryptape/cita-sdk-java.git
gradle shadowJar
Expand Down Expand Up @@ -176,6 +180,10 @@ compile 'com.cryptape.cita:core:0.22.3'

手动安装
如果你想使用最新的 CITA,编译 CITA 生成 jar 包,并手动引入。

> 由于上传 jar 包至 maven server 和本地通过 shadow 命令打包存在冲突,所以当你要在本地通过 shadowJar 命令打包时,
> 你需要添加和保留 `console/bulid.gradle` 文件下第一行 `apply plugin: 'com.github.johnrengelman.shadow'`(改行默认是被注释的)。
```
git clone https://github.com/cryptape/cita-sdk-java.git
gradle shadowJar
Expand Down

0 comments on commit 5fca12d

Please sign in to comment.