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:
apply plugin: 'java'
apply plugin: 'me.tatarka.retrolambda'
dependencies {
}
sourceSets {
test {
output.resourcesDir = output.classesDir
}
}
retrolambda {
oldJdk System.getenv("JAVA7_HOME")
}
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
(works well on my machine)
But on bitrise JAVA7_HOME doesn’t seems to exist. Any hint on that ? does a Java 7 home exist ? if not what could be a solution ? workaround ?
Thanks