-
Notifications
You must be signed in to change notification settings - Fork 0
Cleaning Generated Files and Caches
The plugin provides cleanup tasks for generated Hytale development outputs and caches.
./gradlew cleanHytaleGenerated
./gradlew cleanHytaleAssetsCache
./gradlew cleanHytaleGlobalCacheUse cleanHytaleGenerated when you want to remove project-local generated output, such as generated source jars and generated local source repositories.
Use cleanHytaleAssetsCache when you want to remove the cached Hytale Assets.zip / generated assets cache under the Gradle user home. This is useful when assets look stale, or you need the plugin to resolve them again.
Use cleanHytaleGlobalCache only when you want to clear global Hytale caches under the Gradle user home, such as decompiled source and injected Javadoc caches. Because this can affect other Hytale projects on the same machine, the task requires confirmation.
Interactive confirmation:
./gradlew cleanHytaleGlobalCacheWhen prompted, type:
clean global hytale cache
For non-interactive environments, pass the confirmation property explicitly:
./gradlew cleanHytaleGlobalCache -PconfirmCleanHytaleGlobalCache=trueGenerated VS Code tasks from configureVSCodeHytaleRun include these cleanup commands. The global cache cleanup task asks for confirmation before running.