Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Introduce sample backup task #35

Closed
pun-ky opened this issue Nov 6, 2018 · 1 comment
Closed

Introduce sample backup task #35

pun-ky opened this issue Nov 6, 2018 · 1 comment

Comments

@pun-ky
Copy link
Contributor

pun-ky commented Nov 6, 2018

task aemBackup {
   doLast {
      def response = aem.buildPackage(listOf("/content/example"))
      aem.downloadPackage(response.path, project.file("content-backup-${System.currentTimeMilis()}.zip")
   }
}

this will be a little demonstration of writing custom tasks

@pun-ky
Copy link
Contributor Author

pun-ky commented Jun 26, 2019

outdated

@pun-ky pun-ky closed this as completed Jun 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant