Skip to content

Cleaning Generated Files and Caches

AzureDoom edited this page Jun 14, 2026 · 1 revision

The plugin provides cleanup tasks for generated Hytale development outputs and caches.

./gradlew cleanHytaleGenerated
./gradlew cleanHytaleAssetsCache
./gradlew cleanHytaleGlobalCache

Use 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 cleanHytaleGlobalCache

When prompted, type:

clean global hytale cache

For non-interactive environments, pass the confirmation property explicitly:

./gradlew cleanHytaleGlobalCache -PconfirmCleanHytaleGlobalCache=true

Generated VS Code tasks from configureVSCodeHytaleRun include these cleanup commands. The global cache cleanup task asks for confirmation before running.

Clone this wiki locally