类 LayeredSpec.DependenciesIntoLayerSpec

java.lang.Object
org.springframework.boot.gradle.tasks.bundling.LayeredSpec.IntoLayerSpec
org.springframework.boot.gradle.tasks.bundling.LayeredSpec.DependenciesIntoLayerSpec
所有已实现的接口:
Serializable
封闭类:
LayeredSpec

public static class LayeredSpec.DependenciesIntoLayerSpec extends LayeredSpec.IntoLayerSpec
Spec that controls the dependencies that should be part of a particular layer.
从以下版本开始:
2.4.0
另请参阅:
  • 构造器详细资料

    • DependenciesIntoLayerSpec

      public DependenciesIntoLayerSpec(String intoLayer)
      Creates a new IntoLayerSpec that will control the content of the given layer.
      参数:
      intoLayer - the layer
  • 方法详细资料

    • includeProjectDependencies

      public void includeProjectDependencies()
      Configures the layer to include project dependencies. If no includes are specified then all content is included. If includes are specified then content must match an inclusion and not match any exclusions to be included.
    • excludeProjectDependencies

      public void excludeProjectDependencies()
      Configures the layer to exclude project dependencies. If no excludes a specified no content is excluded. If exclusions are specified then any content that matches an exclusion will be excluded irrespective of whether it matches an include.