We have a multiproject with .gradle settings and there is no build.gradle in the root project.
The default behavior of gradle is simply to look at the settings.gradle file in the top directory and read build.gradle for each project defined earlier.
My problem: depending on the environment in which the multiproject was extracted, I want to run "build2.gradle" by default instead of "build.gradle" when starting the build from the root project.
What is the best way to do this?
thanks
source share