Hey, in my Android project I have a Java sub module which use retrolambda. but to make it works it require that you specify the path to JDK7.
So you do something like this in your java module gradle file:
The easiest way to experiment with this is to download the same Docker image we use on bitrise.io as the build environment, so that you can run commands and debug things locally in the exact same environment your build will run in on bitrise.io. Related guide: http://devcenter.bitrise.io/docker/run-your-build-locally-in-docker/
This of course is not required, but might help to speed up iterating on the config.