Merge pull request #88 from Enaium/patch-1

Java程序使用
pull/192/head
Greper 2021-08-19 10:29:26 +08:00 committed by GitHub
commit 8206059f02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

View File

@ -285,6 +285,21 @@ Error: www.github.com:443, 代理请求超时
当git push的数据大于200k时会报错目前的方案不太好解决。
临时方案切到安全模式尝试git push多试几次就可以了。
### 8、 Java程序使用
需要先通过keytool安装证书
`keytool -import -alias dev-sidecar -keystore "jdk路径\security\cacerts" -file 用户目录\.dev-sidecar\dev-sidecar.ca.crt`默认密码为`changeit`
启动时还需要设置参数
`-Dhttp.proxyHost=localhost -Dhttp.proxyPort=1181 -Dhttps.proxyHost=localhost -Dhttps.proxyPort=1181`
Gradle还需在`用户目录/.gradle/gradle.properties`创建配置文件
```properties
systemProp.http.proxyHost=localhost
systemProp.http.proxyPort=1181
systemProp.https.proxyHost=localhost
systemProp.https.proxyPort=1181
```
## 贡献代码