While trying to build some projects under Java 8, I noticed that one very attractive feature of the JDK, being able to choose if I want to use one of the compact JRE’s to build against or not, is missing from any gradle documentation I can find.
According to the new JDK documentation, you should be able to pass a javac option -profile but I’m not sure how to manifest this behaviour in gradle.