Search code examples
build-processgradle

Where is the build path with Gradle


I want to use Gradle to build the snapshot version for file-uploader https://github.com/valums/file-uploader .

My grade version is 1.4 and when I run gradle zip on Mac OS X 10.7.5, it shows BUILD SUCCESSFUL, but I can not where can I find the result file ?


Solution

  • From the project's build.gradle file:

    task zip(type: Zip) {
        baseName "$filename-$version"
        from files("$buildDir")
        destinationDir file('release')
    }
    

    So the destination folder is called release, you'll find it under the project root.