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: [code] org.gradle.daemon=true JDK7_HOME=/usr/lib/jvm/jdk-7-oracle-x64 JDK8_HOME=/usr/lib/jvm/oracle-java8-jdk-amd64 [/code] Default JDK should be JDK 7. …
„How to specify Java Source and Target Compatibility in a Gradle multi project“ weiterlesen