open class BundleCompose : JarTask, AemTask
<init> |
BundleCompose() |
activator |
var activator: String? |
activatorClasses |
val activatorClasses: ListProperty<String!>! |
activatorSourceSets |
val activatorSourceSets: MapProperty<String!, String!>! |
aem |
val aem: AemExtension |
attributes |
var attributes: MutableMap<String, Any?> |
attributesConvention |
Enable or disable support for auto-generating OSGi specific JAR manifest attributes like 'Bundle-SymbolicName', 'Export-Package' or AEM specific like 'Sling-Model-Packages' using 'javaPackage' property. val attributesConvention: Property<Boolean!>! |
bundleConvention |
val bundleConvention: BundleTaskConvention |
category |
var category: String? |
composedDir |
Shorthand for directory of built OSGi bundle file. val composedDir: File |
composedFile |
Shorthand for built OSGi bundle file. val composedFile: File |
contributors |
var contributors: String? |
copyright |
var copyright: String? |
developers |
var developers: String? |
displayName |
var displayName: String? |
docUrl |
var docUrl: String? |
exportPackages |
val exportPackages: ListProperty<String!>! |
fragmentHost |
var fragmentHost: String? |
importPackages |
val importPackages: ListProperty<String!>! |
importPackageWildcard |
val importPackageWildcard: Property<Boolean!>! |
installPath |
Content path for OSGi bundle jars being placed in CRX package. val installPath: Property<String!>! |
installRunMode |
Suffix added to install path effectively allowing to install bundles only on specific instances. val installRunMode: Property<String!>! |
javaConvention |
val javaConvention: JavaPluginConvention! |
javaPackage |
Determines package in which OSGi bundle being built contains its classes. Basing on that value, there will be: val javaPackage: Property<String!>! |
javaPackageOptions |
Determines how conflicts will be resolved when coincidental classes will be detected. Useful to combine Java sources with Kotlin, Scala etc. val javaPackageOptions: Property<String!>! |
license |
var license: String? |
privatePackages |
val privatePackages: ListProperty<String!>! |
slingModelPackages |
var slingModelPackages: String? |
symbolicName |
var symbolicName: String? |
vaultFilter |
Determines if Vault workspace filter entry pointing directly to JAR file should be added automatically for built OSGi bundle. val vaultFilter: Property<Boolean!>! |
vendor |
var vendor: String? |
attribute |
fun attribute(name: String, value: String?): Manifest!fun attribute(name: String): String? |
bnd |
Add instructions to the BND property from a list of multi-line strings. fun bnd(vararg lines: CharSequence): Unit |
bndTool |
Allows to configure BND tool specific options. fun bndTool(options: BundleTaskConvention.() -> Unit): Unit |
copy |
open fun copy(): Unit |
embedPackage |
fun embedPackage(dependencyNotation: Any, vararg pkgs: String, export: Boolean = false): Unit
Copy packages from external dependency (JAR) to currently built OSGi bundle. fun embedPackage(dependencyNotation: Any, pkgs: Iterable<String>, export: Boolean = false): Unit |
excludePackage |
fun excludePackage(pkgs: Iterable<String>): Unitfun excludePackage(vararg pkgs: String): Unit |
exportPackage |
fun exportPackage(pkgs: Iterable<String>): Unitfun exportPackage(vararg pkgs: String): Unit |
hasAttribute |
fun hasAttribute(name: String): Boolean |
importPackage |
fun importPackage(pkgs: Iterable<String>): Unitfun importPackage(vararg pkgs: String): Unit |
privatePackage |
fun privatePackage(pkgs: Iterable<String>): Unitfun privatePackage(vararg pkgs: String): Unit |
projectEvaluated |
open fun projectEvaluated(): Unit |
wildcardPackage |
fun wildcardPackage(pkgs: Iterable<String>): List<String>fun wildcardPackage(vararg pkgs: String): List<String> |
NAME |
const val NAME: String |