Class CachesExtension
java.lang.Object
com.cleanroommc.gradle.api.ext.CachesExtension
Shared and project-local directories the toolchain writes into.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.gradle.api.file.DirectoryPropertyGradle-user-home (or overridden) cache for Minecraft downloads and versioned artifacts.abstract org.gradle.api.provider.Property<Boolean> When true, intermediate pipeline files are deleted after their last consumer runs.abstract org.gradle.api.file.DirectoryPropertyProject-local generated data, typically underbuild/.abstract org.gradle.api.file.DirectoryPropertyPer-Minecraft-version slice ofgetDirectory(), used by the 1.12.2 toolchain.
-
Constructor Details
-
CachesExtension
public CachesExtension()
-
-
Method Details
-
getDirectory
public abstract org.gradle.api.file.DirectoryProperty getDirectory()Gradle-user-home (or overridden) cache for Minecraft downloads and versioned artifacts. -
getVersionDirectory
public abstract org.gradle.api.file.DirectoryProperty getVersionDirectory()Per-Minecraft-version slice ofgetDirectory(), used by the 1.12.2 toolchain. -
getLocalDirectory
public abstract org.gradle.api.file.DirectoryProperty getLocalDirectory()Project-local generated data, typically underbuild/. -
getDiscardIntermediates
When true, intermediate pipeline files are deleted after their last consumer runs. Defaults true except inProjectMode.LOADER.
-