xiaojunnuo
3 years ago
2 changed files with 18 additions and 13 deletions
@ -0,0 +1,16 @@
|
||||
# 其他程序使用 |
||||
|
||||
## Java程序使用 |
||||
> 由[Enaium](https://github.com/Enaium) 提供,未做验证,可供参考 |
||||
> |
||||
需要先通过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 |
||||
``` |
Loading…
Reference in new issue