| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!-- |
| 3 |
|
| 4 |
SPDX-License-Identifier: GPL-3.0-or-later |
| 5 |
Copyright (c) 2008-2026 Andrew Ziem. |
| 6 |
|
| 7 |
This work is licensed under the terms of the GNU GPL, version 3 or |
| 8 |
later. See the COPYING file in the top-level directory. |
| 9 |
|
| 10 |
--> |
| 11 |
<cleaner id="android_studio"> |
| 12 |
<label>Android Studio</label> |
| 13 |
<description>Development environment</description> |
| 14 |
<running type="exe" os="unix" same_user="true">studio.sh</running> |
| 15 |
<running type="exe" os="windows" same_user="true">studio.exe</running> |
| 16 |
<running type="exe" os="windows" same_user="true">studio64.exe</running> |
| 17 |
<running type="exe" os="macos" same_user="true">studio</running> |
| 18 |
<var name="gradle_home"> |
| 19 |
<value os="windows">%UserProfile%\.gradle</value> |
| 20 |
<value os="macos">~/.gradle</value> |
| 21 |
<value os="unix">~/.gradle</value> |
| 22 |
</var> |
| 23 |
<var name="android_home"> |
| 24 |
<value os="windows">%UserProfile%\.android</value> |
| 25 |
<value os="macos">~/.android</value> |
| 26 |
<value os="unix">~/.android</value> |
| 27 |
</var> |
| 28 |
<var name="as_cache"> |
| 29 |
<value search="glob" os="windows">%LocalAppData%\Google\AndroidStudio*\caches</value> |
| 30 |
<value search="glob" os="macos">~/Library/Caches/Google/AndroidStudio*</value> |
| 31 |
<value search="glob" os="unix">~/.cache/Google/AndroidStudio*/caches</value> |
| 32 |
</var> |
| 33 |
<var name="as_logs"> |
| 34 |
<value search="glob" os="windows">%LocalAppData%\Google\AndroidStudio*\log</value> |
| 35 |
<value search="glob" os="macos">~/Library/Logs/Google/AndroidStudio*</value> |
| 36 |
<value search="glob" os="unix">~/.cache/Google/AndroidStudio*/log</value> |
| 37 |
</var> |
| 38 |
<option id="gradle_cache"> |
| 39 |
<label>Gradle cache</label> |
| 40 |
<description>Delete downloaded dependencies and build artifacts</description> |
| 41 |
<warning>Dependencies will need to be downloaded on the next build.</warning> |
| 42 |
<action command="delete" search="walk.all" path="$$gradle_home$$/caches/"/> |
| 43 |
<action command="delete" search="walk.all" path="$$gradle_home$$/daemon/"/> |
| 44 |
</option> |
| 45 |
<option id="ide_cache"> |
| 46 |
<label>IDE cache</label> |
| 47 |
<description>Delete the cache</description> |
| 48 |
<action command="delete" search="walk.all" path="$$android_home$$/cache/"/> |
| 49 |
<action command="delete" search="walk.all" path="$$android_home$$/build-cache/"/> |
| 50 |
<action command="delete" search="walk.all" path="$$as_cache$$"/> |
| 51 |
</option> |
| 52 |
<option id="logs"> |
| 53 |
<label>Logs</label> |
| 54 |
<description>Delete the logs</description> |
| 55 |
<action command="delete" search="glob" path="$$as_logs$$/*.log*"/> |
| 56 |
<action command="delete" search="glob" path="$$as_logs$$/threadDumps*"/> |
| 57 |
</option> |
| 58 |
</cleaner> |