github加速
java
# ubuntu20.04 安装 openjdk-17-jdk
sudo apt install openjdk-17-jdk
java -version
javac -version
which java
- 参考 openjdk
gradle换源
- 修改gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
#distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-all.zip
# 换源
distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-8.2-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists