当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
(1) Construction of a real-time performance monitoring platform (Grafana+Influxdb+Jmeter)
Randomly generate uuid using rand function
【备忘】从零开始搭建Yolo5训练环境
【网站小白】mySQL数据库异常断开
基于 TF-IDF 文本匹配实战详细教程 数据+代码 可直接运行
【网站小白】Hibernate插入数据成功,不报错,但是数据库中没有值
task03 Pytorch模型定义
Keras与tensorflow 使用基础
(二)性能实时监控平台搭建(Grafana+Prometheus+Jmeter)
第5章 循环和关系表达式
【C语言从初阶到进阶】第二篇 初始C语言(二)
吃瓜教程task01 第2章 模型评估与选择
吃瓜教程task03 第4章 决策树
原生态mongo连接查询代码
一张图带你解读--如何从零开始学习接口自动化
第9章 内存模型和名称空间
C语言结构体详解 (2) 结构体内存对齐,默认对齐数
Win下安装不同版本的MinGW(g++/gcc)以及对应clion编辑器的配置
华为od德科面试数据算法解析 2022-8-10 迷宫问题
task06 PyTorch生态