Skip to content

Commit 56f7a55

Browse files
author
krystian.panek
committed
Metatype improvements
1 parent 21f7412 commit 56f7a55

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/main/kotlin/com/cognifide/gradle/aem/deploy/DistributeTask.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ open class DistributeTask : AbstractTask() {
77

88
companion object {
99
val NAME = "aemDistribute"
10+
11+
val INSTANCE_FILTER_AUTHOR = "*-author"
1012
}
1113

1214
init {
1315
group = AemPlugin.TASK_GROUP
14-
description = "Distributes AEM package to instance(s). Upload, install then activate."
16+
description = "Distributes AEM package to instance(s). Upload, install then activate only for instances with group '$INSTANCE_FILTER_AUTHOR'."
1517
}
1618

1719
@TaskAction
@@ -21,7 +23,7 @@ open class DistributeTask : AbstractTask() {
2123

2224
installPackage(packagePath, sync)
2325
activatePackage(packagePath, sync)
24-
}, filterInstances("*-author"))
26+
}, filterInstances(INSTANCE_FILTER_AUTHOR))
2527
}
2628

2729
}

src/main/kotlin/com/cognifide/gradle/aem/pkg/ComposeTask.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ open class ComposeTask : Zip(), AemTask {
4343
override val config = AemConfig.extendFromGlobal(project)
4444

4545
init {
46-
description = "Composes AEM / CRX package from JCR content and built JAR bundles."
46+
description = "Composes AEM package from JCR content and built OSGi bundles"
4747
group = AemPlugin.TASK_GROUP
4848

4949
duplicatesStrategy = DuplicatesStrategy.WARN

0 commit comments

Comments
 (0)