public class OsgiPluginConvention extends Object
org.gradle.api.plugins.osgi.OsgiPlugin .| Constructor and Description |
|---|
OsgiPluginConvention(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(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.Copyright © 2013. All rights reserved