java.lang.Object
org.springframework.boot.gradle.tasks.bundling.CacheSpec

public class CacheSpec extends Object
Configuration for an image building cache.
Since:
2.6.0
Author:
Scott Frederick
  • Constructor Details

    • CacheSpec

      @Inject public CacheSpec(ObjectFactory objectFactory)
  • Method Details

    • asCache

      public org.springframework.boot.buildpack.platform.build.Cache asCache()
    • volume

      public void volume(Action<CacheSpec.VolumeCacheSpec> action)
      Configures a volume cache using the given action.
      Parameters:
      action - the action