Releases: rock3r/deep-clean
Releases · rock3r/deep-clean
1.6.0
It's been a while since I formally released a new version, so... here we are! The external contributions were actually already released in 2021, but I had forgotten to do a named release back then.
- Compatible with KScript 4!
- Added a small check to make sure the Gradle wrapper is available and show a nice error if not, instead of crashing
- Ensured the script is committed as executable (thanks @diklimchuk) #10
- Nuke now also clears local Maven repository (thanks @IslamSalah) #9
New Contributors
- @IslamSalah made their first contribution in #9
- @diklimchuk made their first contribution in #10
Full Changelog: 1.5.0...1.6.0
Version 1.5.0
- Only execute
gradlew
andadb
commands when they're available
Version 1.4.0
- Add an option to nuke the IDE preferences:
-p
--ide-preferences
(must be used in conjunction with-n
--nuke
)
Version 1.3.0
- Fix bug in which directories weren't recursively traversed while searching for files and folders to delete
- Added
--not-recursive
option to avoid folder recursion (see README) - Added
--ide
/-ide
to also delete IDEA/Android Studio files such as.iml
project files- It also deletes
.idea
folders if used in conjunction with--nuke
/-n
- It also deletes
- Greatly improved console output, especially on ANSI terminals
Version 1.2.0
- Add
-b
/--backup
option, which renames files instead of deleting them - Gradle home detection will check for existence of folder before attempting cleaning
- Some tweaks and refactors
Version 1.1.1
- Renamed script from
deep-clean
todeep-clean.kts
to avoid some issues withkscript
Version 1.1.0
- More granular
~/.gradle
cleaning- It won't nuke the whole folder anymore, but only these subfolders:
build-scan-data
,caches
,daemon
,wrapper
- It won't nuke the whole folder anymore, but only these subfolders:
- Copy tweaks here and there
Version 1.0.0
Initial release!
- Two modes, regular and nuke.
- Regular mode:
- Runs
./gradlew clean
- Tries to kill any lingering daemons/processes for Gradle, ADB, and the Kotlin compiler
- Removes any
.gradle
andbuild
folders in the working folder
- Runs
- Nuke mode does all of the above, plus:
4. Clears any IntelliJ IDEA caches it can find
5. Clears any Android Studio caches it can find
6. Clears the Gradle home folder,~/.gradle