DSL extension allowing instruction on how to produce a <feature/> entry
in a Karaf features repository file
| Type | Name and description |
|---|---|
org.gradle.api.artifacts.Configuration[] |
bundleDependenciesAny Configurations containing dependencies to apply as bundles to this feature. |
BundleInstructionDescriptor[] |
bundlesAny specific bundle instructions to apply within this feature. |
java.lang.String[] |
dependencyFeatureNamesList of dependency feature names. |
FeatureDependencyDescriptor[] |
dependencyFeaturesList of feature dependencies. |
java.lang.String |
descriptionOptional description for the feature |
java.lang.String |
nameThe name to be used in the <feature/> entry |
org.gradle.api.Project |
projectThe project from which the plugin is instantiated |
ProjectDescriptor[] |
projectDescriptorsAny projects to be included in this feature. |
java.lang.String |
versionThe version to be used in the <feature/> entry |
| Constructor and description |
|---|
FeatureDescriptor
(java.lang.String name, org.gradle.api.Project project, KarafFeaturesTaskExtension extension) |
| Type | Name and description |
|---|---|
java.lang.Object |
bundle(java.lang.String pattern, groovy.lang.Closure closure) |
java.lang.Object |
bundle(groovy.lang.Closure closure) |
java.lang.Object |
dependency(java.lang.String featureName) |
java.lang.Object |
dependency(java.lang.String featureName, groovy.lang.Closure closure) |
ProjectDescriptor[] |
getProjectDescriptors() |
java.lang.Object |
project(java.lang.String projectName, groovy.lang.Closure closure) |
java.lang.Object |
project(java.lang.String projectName) |
java.lang.Object |
project(org.gradle.api.Project project) |
java.lang.Object |
project(groovy.lang.Closure closure) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Any Configurations containing dependencies to apply as bundles to this feature. These configurations are considered additive to the project runtime configurations from projectDescriptors
Any specific bundle instructions to apply within this feature.
List of dependency feature names. An easy way to specify dependencies, however properties are not supported
List of feature dependencies. Support version and dependency properties.
Optional description for the feature
The name to be used in the <feature/> entry
The project from which the plugin is instantiated
Any projects to be included in this feature. We will pick up
all of their configurations.runtime dependencies and
add them as bundles. These project runtime configurations are
considered additive to the bundleDependencies configurations
The version to be used in the <feature/> entry
Groovy Documentation