问题描述
我有一个正在工作的旧项目,我注意到.gradle文件夹对于我以前更改过的每个gradle发行版都有太多的子文件夹,删除旧版本子文件夹是否安全?
I have an old project that am working at, I noticed that the .gradle folder has too many subfolders for each distribution of gradle I've changed in the past, is it safe to delete the old versions subfolders?
推荐答案
项目你可以找到 .gradle
文件夹。
Inside the project you can find the .gradle
folder.
在里面你可以找到gradle使用的所有设置和其他文件建立项目。
您可以毫无问题地删除这些文件。 Gradle将重新创建它。
Inside you can find all settings and other files used by gradle to build the project.You can delete these files without problems. Gradle will recreate it.
这些文件也没有提交,并且版本控制系统。这意味着当您签出项目时,这些文件不会出现在项目中。
Also these file are not committed and Version Control Systems. It means that when you checkout the project these files are not present on the project.
这篇关于删除Android Studio中的.gradle文件夹是否安全?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!