@Deprecated public class OsgiPluginConvention extends Object
OsgiPlugin
.Constructor | Description |
---|---|
OsgiPluginConvention(org.gradle.api.internal.project.ProjectInternal project) |
Deprecated.
Creating instances of this class is deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
OsgiManifest |
osgiManifest() |
Deprecated.
Creates a new instance of
OsgiManifest . |
OsgiManifest |
osgiManifest(Closure closure) |
Deprecated.
Creates and configures a new instance of an
OsgiManifest . |
OsgiManifest |
osgiManifest(Action<? super OsgiManifest> action) |
Deprecated.
Creates and configures a new instance of an
OsgiManifest . |
@Deprecated public OsgiPluginConvention(org.gradle.api.internal.project.ProjectInternal project)
OsgiPluginConvention
instance.public OsgiManifest osgiManifest()
OsgiManifest
. The returned object is preconfigured with:
version: project.version name: project.archivesBaseName symbolicName: project.group + "." + project.archivesBaseName (see below for exceptions to this rule)The symbolic name is usually the group + "." + archivesBaseName, with the following exceptions
public OsgiManifest osgiManifest(Closure closure)
OsgiManifest
. The closure configures
the new manifest instance before it is returned.public OsgiManifest osgiManifest(Action<? super OsgiManifest> action)
OsgiManifest
. The action configures
the new manifest instance before it is returned.