| Type | Name and description |
|---|---|
static java.lang.String |
addQualifier(java.lang.String version, java.lang.String symbolicName, BndConfig bndConfig, org.gradle.api.Project project, java.lang.String bundleType = 'bundle')Add a qualifier to the bundle version. |
static java.lang.String |
addQualifier(java.lang.String version, Feature feature, org.gradle.api.Project project)Add a qualifier to a feature version, based on the feature content. |
static VersionQualifierMap |
getQualifierMap(org.gradle.api.Project project) |
static org.osgi.framework.Version |
toOsgiVersion(java.lang.String version, groovy.lang.Closure onInvalid = null)Convert a version string to a valid OSGi version. |
| 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() |
Add a qualifier to the bundle version.
version - the current bundle versionsymbolicName - the bundle symbolic namebndConfig - the bnd configuration, may be nullproject - the Gradle projectbundleType - the type classification of the bundle, defaults to 'bundle'Add a qualifier to a feature version, based on the feature content.
version - the current feature versionfeature - the feature to calculate the qualifier forproject - the Gradle projectConvert a version string to a valid OSGi version.
version - the version stringonInvalid - closure that is called with the OSGi version if the
original version string yielded no valid OSGi version