You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -36,6 +37,10 @@ class AemPlugin : Plugin<Project> {
36
37
valVLT_PATH="META-INF/vault"
37
38
38
39
valJCR_ROOT="jcr_root"
40
+
41
+
valDEPLOY_TASK_ROOT="aemRootDeploy"
42
+
43
+
valDEPLOY_TASK_RULE="Pattern: aem<ProjectPath>Deploy: Build CRX package and deploy it to AEM instance(s). Use preemptive '$DEPLOY_TASK_ROOT' for root project."
39
44
}
40
45
41
46
overridefunapply(project:Project) {
@@ -77,9 +82,11 @@ class AemPlugin : Plugin<Project> {
77
82
78
83
val assemble = project.tasks.getByName(LifecycleBasePlugin.ASSEMBLE_TASK_NAME)
79
84
val check = project.tasks.getByName(LifecycleBasePlugin.CHECK_TASK_NAME)
85
+
val build = project.tasks.getByName(LifecycleBasePlugin.BUILD_TASK_NAME)
80
86
81
87
assemble.mustRunAfter(clean)
82
88
check.mustRunAfter(clean)
89
+
build.dependsOn(compose)
83
90
84
91
compose.dependsOn(assemble, check)
85
92
compose.mustRunAfter(clean)
@@ -102,6 +109,25 @@ class AemPlugin : Plugin<Project> {
0 commit comments