How to specify Java Source and Target Compatibility in a Gradle multi project

I have a multiple project setup and I want to build top level projects using different JDKs. I did some experiments by myself and the following configuration worked for me (using gradle 3.1 and the wrapper function). At the root level my gradle.properties file looks like this: Default JDK should be JDK 7. So I defined this in […]