|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectorg.standardout.gradle.plugin.platform.PlatformPluginExtension
class PlatformPluginExtension
Extension for the platform plugin.
| Field Summary | |
|---|---|
static groovy.lang.Closure |
ADLER32
Hash calculator using the Adler32 checksum algorithm. |
static groovy.lang.Closure |
MAJOR
Version strategy that requires a minimum version and extends to (not including) the next major version. |
static groovy.lang.Closure |
MINIMUM
Version strategy that uses the given version as minimum version. |
static groovy.lang.Closure |
MINOR
Version strategy that requires a minimum version and extends to (not including) the next minor version. |
static groovy.lang.Closure |
NONE
Version strategy that uses no version constraint for imports. |
| Property Summary | |
|---|---|
java.util.Map |
artifacts
Maps artifact IDs to BundleArtifacts |
boolean |
auxVersionedSymbolicNames
States if the symbolic names for bundles created via the platformaux configuration should be adapted to include the version number. |
java.lang.String |
categoryId
The ID of the feature's category in the update site. |
java.lang.String |
categoryName
The name of the feature's category in the update site. |
Configurations |
configurations
Stores bnd configurations. |
java.lang.String |
defaultQualifier
The default version qualifier to use for wrapped bundles. |
boolean |
determineImportVersions
States if the package import versions for automatically wrapped bundles should be determined automatically. |
java.io.File |
eclipseHome
The directory of a local Eclipse installation. |
java.lang.Object |
eclipseMirror
Nested map that is checked for Eclipse download URLs, keys are osgiOS (win32, linux, macosx), osgiWS (win32, gtk, cocoa) and arch (x86, x86_64) in that order. |
java.lang.String |
featureId
The ID for the platform feature. |
java.lang.String |
featureName
The name for the platform feature. |
java.lang.String |
featureVersion
The platform feature version, defaults to the project version if possible, otherwise to 1.0.0. |
boolean |
fetchSources
States if source for external dependencies should be fetched and corresponding source bundles created. |
groovy.lang.Closure |
hashCalculator
Defines the hash calculator used for calculating hash qualifiers from bnd configuration. |
java.util.Set |
importIgnorePackages
Packages to ignore when analyzing packages of dependencies to determine package import version numbers. |
groovy.lang.Closure |
importVersionStrategy
Defines the global import version strategy. |
org.gradle.api.Project |
project
|
java.io.File |
updateSiteDir
The directory to place the update site in. |
java.io.File |
updateSiteZipFile
The target file for the 'updateSiteZip' task. |
boolean |
useBndHashQualifiers
States if bundle version qualifiers should be tagged with hashes calculated from the bnd configuration. |
| Constructor Summary | |
PlatformPluginExtension(org.gradle.api.Project project)
|
|
| Method Summary | |
|---|---|
java.lang.Object
|
bnd(java.lang.Object dependencyNotation, groovy.lang.Closure bndClosure)
Call bnd to configure artifact, but don't add as dependency. |
java.lang.Object
|
bnd(groovy.lang.Closure bndClosure)
Call bnd to extend/overwrite the default bnd configuration for all bundles. |
java.lang.Object
|
bundle(java.lang.Object dependencyNotation, groovy.lang.Closure configClosure = null)
Call bundle to add a dependency. |
void
|
imports(java.lang.Object dependencyNotation, groovy.lang.Closure importsClosure)
Call to configure the behaviour for other bundles importing a given dependency. |
java.lang.Object
|
merge(java.util.Map properties = [failOnDuplicate: true, groovy.lang.Closure mergeClosure)
Call merge to create bundle that is merged from different dependencies. |
java.lang.Object
|
override(groovy.lang.Closure bndClosure)
Call to override the behavior for all created bundles, even existing bundles. |
| Methods inherited from 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() |
| Field Detail |
|---|
public static final groovy.lang.Closure ADLER32
public static final groovy.lang.Closure MAJOR
public static final groovy.lang.Closure MINIMUM
public static final groovy.lang.Closure MINOR
public static final groovy.lang.Closure NONE
| Property Detail |
|---|
final java.util.Map artifacts
boolean auxVersionedSymbolicNames
java.lang.String categoryId
java.lang.String categoryName
final Configurations configurations
java.lang.String defaultQualifier
true in the corresponding bnd configuration to enable it for a
file based dependency.
boolean determineImportVersions
java.io.File eclipseHome
ECLIPSE_HOME system property is checked, if it is not given as
well it is tried to download Eclipse based on the URLs defined in eclipseMirror
java.lang.Object eclipseMirror
eclipseMirror.win32.win32.x86 = 'http://...'
java.lang.String featureId
java.lang.String featureName
java.lang.String featureVersion
boolean fetchSources
groovy.lang.Closure hashCalculator
final java.util.Set importIgnorePackages
groovy.lang.Closure importVersionStrategy
final org.gradle.api.Project project
java.io.File updateSiteDir
java.io.File updateSiteZipFile
boolean useBndHashQualifiers
| Constructor Detail |
|---|
PlatformPluginExtension(org.gradle.api.Project project)
| Method Detail |
|---|
java.lang.Object bnd(java.lang.Object dependencyNotation, groovy.lang.Closure bndClosure)
dependencyNotation - a dependency notation as supported by GradlebndClosure - a closure that specifying the custom bnd configuration
java.lang.Object bnd(groovy.lang.Closure bndClosure)
java.lang.Object bundle(java.lang.Object dependencyNotation, groovy.lang.Closure configClosure = null)
dependencyNotation - a dependency notation as supported by GradleconfigClosure - a closure that performs dependency configuration
void imports(java.lang.Object dependencyNotation, groovy.lang.Closure importsClosure)
dependencyNotation - the dependency notationimportsClosure - the imports configuration closure
java.lang.Object merge(java.util.Map properties = [failOnDuplicate: true, groovy.lang.Closure mergeClosure)
mergeClosure - the merge closure, specifying a match and bnd configuration
java.lang.Object override(groovy.lang.Closure bndClosure)
Groovy Documentation