SourceCompatibility 1.5 & 1.7. Why?
Opened this issue · 0 comments
hudsonmendes commented
Hey everybody.
When trying to use the diamond operator, I bumped into this complaint in the gradle build
routine:
diamond operator is not supported in -source 1.5
In the gradle.build file, I found explicit:
compileJava {
sourceCompatibility=1.5
targetCompatibility=1.5
}
compileTestJava {
sourceCompatibility=1.7
targetCompatibility=1.7
}
Is there any particular reason for we not be using 1.8 in all that?
All the best,
Hudson