Descomprimir zip file con gradle

Una vez bajado el zip file con gradle, lo copias a un folder local y puedes descomprimirlo usando la siguiente tarea  >>>unzipFile

********************************************
task copyDependencies(type: Copy){
    from configurations.runtime
    into '/lib'
}


task unzipFile(type: Copy, dependsOn: [copyDependencies]) {
  def zipFile = file('lib/chromedriver-2.27-win32.zip')
  def outputDir = file("drivers")

  from zipTree(zipFile)
  into outputDir
}
***************************************************

Comentarios