1.下载

Gradle是基于Ant和Maven的构建工具,同样需要Java运行环境,安装之前需要先安装配置好Java环境。

Gradle官方下载地址:https://gradle.org/releases/

linux环境安装Gradle

2.解压安装

linux环境安装Gradle

3.修改配置

a.系统环境变量

vim /etc/profile

export PATH=$PATH:/安装路径/gradle/bin

保存退出后,输入刷新命令 source /etc/profile ,刷新配置文件。

 b.用户环境变量

linux环境安装Gradle

 保存退出后,输入刷新命令 source .bash_profile ,刷新配置文件。

相关文章:

  • 2021-12-27
  • 2021-09-20
  • 2021-08-05
  • 2021-08-19
  • 2021-07-06
  • 2022-12-23
  • 2022-02-09
  • 2021-05-12
猜你喜欢
  • 2021-06-03
  • 2021-05-27
  • 2021-10-05
  • 2021-08-02
  • 2021-06-05
  • 2021-09-19
  • 2021-06-28
相关资源
相似解决方案