Package com.diffplug.gradle.pde
Class ExplicitVersionPolicy
java.lang.Object
com.diffplug.gradle.pde.ExplicitVersionPolicy
Specifies a policy for which bundles we will keep multiple versions of, used in
PdeBuildTask.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents a given plugin and its input versions, and specifies the versions to use when resolving it. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Creates a deep copy of this ExplicitVersionPolicy.Specifies that we expect multiple versions of the given plugin, the return value must be used to set the versions that will be kept.
-
Constructor Details
-
ExplicitVersionPolicy
public ExplicitVersionPolicy()
-
-
Method Details
-
resolve
@CheckReturnValue public ExplicitVersionPolicy.Resolve resolve(String pluginName, String... versions) Specifies that we expect multiple versions of the given plugin, the return value must be used to set the versions that will be kept. -
copy
Creates a deep copy of this ExplicitVersionPolicy.
-