Refactor Gradle tasks 'portalDeploy' and 'portalClean' into plugins

Description

There's a working version of 'portalDeploy' and 'portalClean' attached to the rootProject, but this functionality would be vastly more flexible, maintainable, and idiomatic if it were refactored into a plugin applied to subprojects {} of overlays.

With this approach, you'd not only be able to do...

$ ./gradlew portalDeploy

(which would deploy all the overlays) but also (e.g.)...

$ ./gradlew :overlays:AnnouncementsortalDeploy

(which would deploy only the one overlay).

Also make sure portalDeploy dependsOn portalClean (which removes the existing webapp from Tomcat).

Environment

None

Activity

Show:
Andrew Wills
July 8, 2017, 7:37 PM
Andrew Wills
July 14, 2017, 1:45 AM

merged.

Assignee

Unassigned

Reporter

Andrew Wills

Labels

None

Estimated End Date

None

Fix versions

Priority

Major
Configure