当前位置:网站首页>gradle-wrapper.jar description
gradle-wrapper.jar description
2022-08-11 05:46:00 【FussyCat】
This article is reproduced from the original article of the blogger "Master Niuba": https://blog.csdn.net/niuba123456/article/details/81074340
Gradle-Wrapper is to simplify the installation and deployment of Gardle. If Gardle is not deployed locally, use Gardle-Wrapper;
gradle-wrapper is located in the wrapper directory in the gradle directory under the project root directory;
gradle-wrapper.zip
The jar package required by gradle-warpper;gradle-wrapper.properties
When building the project, it will automatically find out whether to download the corresponding gradle version according to the gradle-wrapper.properties property, if not, download it from the URL of distributionUrl
;
2.1 distributionBase and distributionPath
distributionBase and distributionPath are used together to specify the storage location after gradle decompression;
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
GRADLE_USER_HOME represents the user directory, windows system: c:\window
2.2 zipStoreBase and zipStorePath
zipStoreBase and zipStorePath are used together to specify the storage location for downloading gradle.zip;
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2.3 distributionUrl
distributionUrl specifies the download address of a certain version of gradle
gradle is divided into 3 versions:
gradle-versionName-all.zip: This is the full version with various binaries, source files and offline documentation;
gradle-versionName-bin.zip: This is the executable version, only the executable (binary) is included
gradle-versionName-src.zip: This is the source code version, which only contains the source code and cannot be used to build projects or learn to use;
Download path: https://services.gradle.org/distributions/+one of 3
eg: Download the full version of gradle 4.4:
https://services.gradle.org/distributions/gradle-4.4-all.zip
Note: AndroidStuido needs to set character transfer: https://services.gradle.org/distributions/gradle-4.4-all.zip
边栏推荐
猜你喜欢
随机推荐
更新啦~人生重开模拟器自制
吃瓜教程task01 第2章 模型评估与选择
task05 PyTorch可视化
LeetCode43.字符串相乘 (大数相乘可用此方法)
C语言——文件操作详解(1)
【备忘】于仕琪的libfacedetection相关
第4章 复合类型-2(指针)
自制病毒——整蛊
吃瓜教程task03 第4章 决策树
C语言版——通讯录进阶(文件版本)
C语言自定义数据类型——联合体
task02 fashion-mnist分类实战
C语言——文件操作(2)文件的读写操作
(一)Docker安装Redis实战(一主二从三哨兵)
LeetCode43. String multiplication (this method can be used to multiply large numbers)
lspci 命令使用
task06 PyTorch生态
【win10+cuda7.5+cudnn6.0安装caffe⑥】报错及处理方式
QT QLabel控件(使用详解)
吃瓜教程task05 第6章 支持向量机