I have several multi-projects build. They have some common configuration, that I want put in init.gradle. Can I put the init.gradle to some central location that will be visible to each one of the multi-projects? Base on http://www.gradle.org/docs/current/userguide/init_scripts.html, I can use only specific places. Can I define another location for init.gradle?
If you put the init script in a different location, you have to let Gradle know with the ‘-I’ command line option, so that it can nevertheless find the init script. Or you create your own Gradle distribution and put the init script into the distribution’s ‘init.d’ directory.