How to define apk output directory when using gradle?
I would like to have possibility to upload apk to shared folder after each build.
For Gradle version 2.2.1 +, you can do this:
def outputPathName = "app/app-release.apk" applicationVariants.all { variant -> variant.outputs.each { output -> output.outputFile = new File(outputPathName) } }