Beiträge

Gradle Defaults

Some of our older Java projects are still stuck on Java 1.6 due to restrictions imposed by the production environment. More recent projects use Java 1.7. For our developers this means multiple versions of the JDK need to be available. But only one can be the system wide default. So we use a current JRE as the system wide default and keep various JDK version in /opt. But how do we select the appropriate JDK for building a specific project? Well we use gradle as our build tool and it has a nifty feature. Weiterlesen