类 LayeredSpec.DependenciesIntoLayerSpec
java.lang.Object
org.springframework.boot.gradle.tasks.bundling.LayeredSpec.IntoLayerSpec
org.springframework.boot.gradle.tasks.bundling.LayeredSpec.DependenciesIntoLayerSpec
- 所有已实现的接口:
Serializable
- 封闭类:
LayeredSpec
Spec that controls the dependencies that should be part of a particular layer.
- 从以下版本开始:
- 2.4.0
- 另请参阅:
-
构造器概要
构造器构造器说明DependenciesIntoLayerSpec
(String intoLayer) Creates a newIntoLayerSpec
that will control the content of the given layer. -
方法概要
修饰符和类型方法说明void
Configures the layer to exclude project dependencies.void
Configures the layer to include project dependencies.从类继承的方法 org.springframework.boot.gradle.tasks.bundling.LayeredSpec.IntoLayerSpec
exclude, include
-
构造器详细资料
-
DependenciesIntoLayerSpec
Creates a newIntoLayerSpec
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.
-