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()
  • Method Details

    • asCache

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

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