Class CachesExtension

java.lang.Object
com.cleanroommc.gradle.api.ext.CachesExtension

public abstract class CachesExtension extends Object
Shared and project-local directories the toolchain writes into.
  • 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 of getDirectory(), used by the 1.12.2 toolchain.
    • getLocalDirectory

      public abstract org.gradle.api.file.DirectoryProperty getLocalDirectory()
      Project-local generated data, typically under build/.
    • getDiscardIntermediates

      public abstract org.gradle.api.provider.Property<Boolean> getDiscardIntermediates()
      When true, intermediate pipeline files are deleted after their last consumer runs. Defaults true except in ProjectMode.LOADER.