Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Commit

Permalink
Add a note to documents
Browse files Browse the repository at this point in the history
  • Loading branch information
blindpirate committed Apr 5, 2017
1 parent 20eeec5 commit b7998f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/repository-management-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Gogradle支持私有仓库和仓库url替换。这实际上支持了仓库的镜像。你可以在`build.gradle``repositories`中声明一个仓库。

> 注意:`repositories`必须放置在`dependencies`之前!!!
例如,你想要把一个特定的包替换成自己的实现,可以这样做:

```
Expand Down
2 changes: 2 additions & 0 deletions docs/repository-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Gogradle supports private repository and repository url substitution. Actually, it supports registry mirrors. You can declare repositories in `repositories` block of `build.gradle`.

> NOTE `repositories` block must be placed before `dependencies` block !!!!
For example, you may want to substitute a specific package with your own implementation, just do as follows:

```
Expand Down

0 comments on commit b7998f0

Please sign in to comment.