Gradle 5.4 deployment Gradle
Step 1. Download the latest Gradle distribution
The current Gradle release is version 5.4, released on 16 Apr 2019. The distribution zip file comes in two flavors:
- Binary-only
- Complete, with docs and sources
https://gradle.org/next-steps/?version=5.4&format=bin
Step 2. Unpack the distribution
Linux & MacOS users
Unzip the distribution zip file in the directory of your choosing, e.g.:
Step 3. Configure your system environment
vi /etc/profile
source /etc/profile
Step 4. Verify your installation
Open a console (or a Windows command prompt) and run gradle -v
to run gradle and display the version, e.g.:
Upgrade with the Gradle Wrapper
If your existing Gradle-based build uses the Gradle Wrapper, you can easily upgrade by running the wrapper
task, specifying the desired Gradle version:
$ ./gradlew wrapper --gradle-version=5.4 --distribution-type=bin
上一篇: 联想Z5 6+64G到手价698元:同价位极具竞争力
下一篇: 花盆放的久了都张猫了
推荐阅读
-
android studio 一直卡在Gradle:Build Running的几种解决办法
-
详解如何使用Android Studio开发Gradle插件
-
详解Androidstudio3.0 关于Gradle报错的问题(小结)
-
Gradle-任务
-
详解关于Android Studio中安装和gradle的一些坑
-
mac下用IDEA、gradle构建spring源码步骤(精品,干货满满)
-
android studio 3.0 gradle 打包脚本配置详解
-
Flutter下Android Studio配置gradle的方法
-
AndroidStduio3.0 使用gradle将module打包jar文件的方法
-
ionic2打包android时gradle无法下载的解决方法