aem-plugin / com.cognifide.gradle.aem.pkg.tasks / PackageCompose

PackageCompose

open class PackageCompose : ZipTask, AemTask

Constructors

<init>

PackageCompose()

Properties

aem

val aem: AemExtension

bundlePath

Content path for OSGi bundle jars being placed in CRX package.

val bundlePath: Property<String!>!

bundlesInstalled

val bundlesInstalled: ListProperty<BundleInstalled!>!

composedDir

Shorthand for directory of built CRX package file.

val composedDir: File!

composedFile

Shorthand for built CRX package file.

val composedFile: File!

contentDir

val contentDir: DirectoryProperty!

fileFilter

val fileFilter: PackageFileFilter

fileFilterDelegate

var fileFilterDelegate: (CopySpec) -> Unit

jcrRootDir

val jcrRootDir: DirectoryProperty!

metaDir

val metaDir: DirectoryProperty!

nestedPath

Content path for CRX sub-packages being placed in CRX package being built.

val nestedPath: Property<String!>!

packagesNested

val packagesNested: ListProperty<PackageNested!>!

validator

val validator: PackageValidator

vaultDefinition

Defines properties being used to generate CRX package metadata files.

val vaultDefinition: VaultDefinition

vaultDir

val vaultDir: DirectoryProperty!

vaultFilterFile

val vaultFilterFile: RegularFileProperty!

vaultFilterOriginFile

val vaultFilterOriginFile: RegularFileProperty!

vaultFilters

val vaultFilters: Property<Boolean!>!

vaultHooksDir

val vaultHooksDir: DirectoryProperty!

vaultNodeTypesFile

val vaultNodeTypesFile: RegularFileProperty!

Functions

copy

open fun copy(): Unit

definition

Override default behavior for composing this package.

fun definition(definition: () -> Unit): Unit

fileFilter

fun fileFilter(configurer: PackageFileFilter.() -> Unit): Unit

fromBundlesInstalled

fun fromBundlesInstalled(bundles: ListProperty<BundleInstalled>): Unit

fromDefaults

fun fromDefaults(): Unit

fromMeta

fun fromMeta(metaDir: Any): Unit

fromPackagesNested

fun fromPackagesNested(pkgs: ListProperty<PackageNested>): Unit

fromRoot

fun fromRoot(dir: Any): Unit

fromVaultHooks

fun fromVaultHooks(dir: Any): Unit

installBundle

fun installBundle(dependencyNotation: Any, options: BundleInstalledResolved.() -> Unit = {}): Unit

installBundleBuilt

fun installBundleBuilt(taskPath: String, options: BundleInstalledBuilt.() -> Unit = {}): Unit
fun installBundleBuilt(task: TaskProvider<BundleCompose>, options: BundleInstalledBuilt.() -> Unit = {}): Unit

installBundleProject

fun installBundleProject(projectPath: String, options: BundleInstalledBuilt.() -> Unit = {}): Unit

merged

Add some extra behavior when merging this package into assembly package.

fun merged(action: (PackageCompose) -> Unit): Unit

mergePackage

fun mergePackage(taskPath: String): Unit
fun mergePackage(task: TaskProvider<PackageCompose>): Unit

mergePackageProject

fun mergePackageProject(projectPath: String): Unit

merging

Override default behavior for merging this package into assembly package.

fun merging(action: (PackageCompose) -> Unit): Unit

nestPackage

fun nestPackage(dependencyNotation: Any, options: PackageNestedResolved.() -> Unit = {}): Unit

nestPackageBuilt

fun nestPackageBuilt(taskPath: String, options: PackageNestedBuilt.() -> Unit = {}): Unit
fun nestPackageBuilt(task: TaskProvider<PackageCompose>, options: PackageNestedBuilt.() -> Unit = {}): Unit

nestPackageProject

fun nestPackageProject(projectPath: String, options: PackageNestedBuilt.() -> Unit = {}): Unit

noDefaults

Clear default behavior for composing this package. After calling this method, particular 'from*()' methods need to be called.

fun noDefaults(): Unit

projectsEvaluated

open fun projectsEvaluated(): Unit

validator

fun validator(options: PackageValidator.() -> Unit): Unit

vaultDefinition

fun vaultDefinition(options: VaultDefinition.() -> Unit): Unit

withBundlesInstalled

fun withBundlesInstalled(others: ListProperty<BundleInstalled>): Unit

withPackagesNested

fun withPackagesNested(others: ListProperty<PackageNested>): Unit

withVaultDefinition

fun withVaultDefinition(other: VaultDefinition): Unit

withVaultFilters

fun withVaultFilters(file: RegularFileProperty): Unit

withVaultNodeTypes

fun withVaultNodeTypes(file: RegularFileProperty): Unit

Companion Object Properties

NAME

const val NAME: String