I have a multi-module project (WAR with a bunch of component JARs) where each 
module needs to be compiled with JDK 1.6x. I added sourceCompatibility="1.6" to 
the gradle.properties file alongside my top-level build script, but my code was 
still compiled with 1.5. Then I added it to the script itself. No luck.

It wasn't until I added sourceCompatibility to the individual scripts 
themselves that the project is compiled with 1.6. It isn't the worst thing in 
the world, but is there a way for the setting to be applied to all modules but 
from a single location.

Thanks.

Reply via email to