Android / Gradle: Could not find method include() for arguments

Gradle Runner step fails with:

...

./gradlew "--build-file" "settings.gradle" "assembleDebug" "--stacktrace" "--no-daemon"

To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/4.3/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

FAILURE: Build failed with an exception.

* Where:
Build file '/bitrise/src/settings.gradle' line: 1

* What went wrong:
A problem occurred evaluating root project 'src'.
> Could not find method include() for arguments [:app, :x-android] on root project 'src' of type org.gradle.api.Project.

* Try:
Run with --info or --debug option to get more log output.

* Exception is:
org.gradle.api.GradleScriptException: A problem occurred evaluating root project 'src'.
	at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:92)
	at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl$2.run(DefaultScriptPluginFactory.java:209)
...

Solution: change the Optional path to the gradle build file to use (gradle_file) input of the Gradle Runner step from settings.gradle to build.gradle!

The ./gradlew command should look like:

./gradlew "--build-file" "build.gradle" "assembleDebug" "--stacktrace" "--no-daemon"

the settings.gradle file is not required in params at all.