The Zip type will by default generate the zip file in the build/distributions directory and not in the project root. So either update the description of the deleteTask to delete text files in root and zip files in $buildDir/distributions, or update the description of the zipTask to have the zip file exported to $projectRoot.