public class OsgiPluginConvention extends Object
OsgiPlugin
.Constructor and Description |
---|
OsgiPluginConvention(org.gradle.api.internal.project.ProjectInternal project) |
Modifier and Type | Method and Description |
---|---|
OsgiManifest |
osgiManifest()
Creates a new instance of
OsgiManifest . |
OsgiManifest |
osgiManifest(Closure closure)
Creates and configures a new instance of an
OsgiManifest . |
public OsgiPluginConvention(org.gradle.api.internal.project.ProjectInternal project)
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.