aem-plugin / com.cognifide.gradle.aem.common.instance.service.pkg / PackageManager / download

download

fun download(definition: PackageDefinition.() -> Unit, retry: Retry): File

Create package on the fly, upload it to instance then build it. Next built package is downloaded - replacing initially created package. Finally built package is deleted on instance (preventing messing up).

fun download(definition: PackageDefinition.() -> Unit): File
fun download(remotePath: String, targetFile: File = aem.temporaryFile(FilenameUtils.getName(remotePath)), retry: Retry = aem.retry()): Unit