Set org.gradle.java.home per subproject

Hello, i have one project with a lot ot sub modules where every sub module has its own gradle.properties. In every file i put org.gradle.java.home with different value but the property is not loaded. If i put it into the main project project, it is loaded. How can i use it to be per sub module ?

Hello,

Assuming this is the same as this StackOverflow question, let’s keep the discussion there.