public class OsgiPluginConvention extends Object
OsgiPlugin
.コンストラクタと説明 |
---|
OsgiPluginConvention(org.gradle.api.internal.project.ProjectInternal project) |
修飾子とタイプ | メソッドと説明 |
---|---|
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.