Crates.io | gradle-wiper |
lib.rs | gradle-wiper |
version | 0.1.0 |
source | src |
created_at | 2024-04-29 10:57:31.181608 |
updated_at | 2024-04-29 10:57:31.181608 |
description | Reclaim machine resources (RAM, Disk) attached to Gradle builds |
homepage | |
repository | https://github.com/dotanuki-labs/gradle-wiper |
max_upload_size | |
id | 1224080 |
size | 334,577 |
Easily reclaim machine resources (RAM, Disk) taken by Gradle builds
gradle-wiper
is a clean-up utility for all users building with the
Gradle build tool.
It's a fast, modern and ergonomic alternative for existing tools like deep-clean, AndroidDaemonKiller and others.
Like these tools, gradle-wiper
might be useful in
situations where build executions consistently fail even after
trying all sort of tricks or when you don't want to pay to
price of restarting your work machine to be in a clean state of your
system.
Installing from crates.io
cargo install gradle-wiper
More installation methods to come! Stay tuned! 🔥
[!NOTE] This tool does not uninstall any existing software from your system, and it also preserves custom configuration hosted at
$HOME/.gradle
, like$HOME/.gradle/gradle.properties
file and$HOME/.gradle/init.d
build scripts
gradle-wiper
provides a small command-line interface, allowing
shallow
and deep
cleaning modes.
To wipe out all build-related Daemons (Gradle Workers, Kotin compiler, etc.) from you RAM memory:
gradle-wiper ram shallow
To wipe out all JVM processes from your RAM memory (including running IDEs):
gradle-wiper ram deep
To wipe out potentially corrupted build caches from disk, including:
$HOME/.gradle/caches
$HOME/.gradle/configuration-cache
along with
$HOME/.m2
)$HOME/.konan
)$HOME/.gradle/daemon
)$HOME/.gradle/.tmp
)build
output folders from any Gradle projects in your systemgradle-wiper disk shallow
To also scan your disk for Gradle/IDE metadata files per project, removing
<my-project>/.gradle/*
Gradle files/caches<my-project>/.idea/*
IDE metadata files/cachesgradle-wiper disk deep
Copyright (c) 2024 - Dotanuki Labs - The MIT license