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

Commit

Permalink
Improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
blindpirate committed Mar 9, 2017
1 parent 02372c2 commit cc25182
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions docs/getting-started-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,9 @@ golang {
本节的目的是为访问官方插件仓库https://plugins.gradle.org存在问题的小伙伴提供的workaround。若你在构建时没有遇到无法下载Gogradle插件的问题,请忽略本节。

- 移步[Gogradle Release](https://github.com/blindpirate/gogradle/releases)下载最新版本的jar包。
- 将上文的构建脚本中的
- 将构建脚本改为

```
plugins {
id 'com.github.blindpirate.gogradle' version '0.2.8'
}
```

替换为
build.gradle:

```
buildscript {
Expand All @@ -44,6 +38,10 @@ buildscript {
apply plugin: 'com.github.blindpirate.gogradle'
golang {
packagePath = 'your/package/path' // 欲构建项目的path
}
```

## 构建Go项目
Expand Down

0 comments on commit cc25182

Please sign in to comment.