title: Unknown command-line option '--recompile-scripts'. After updating gradle to 5.1.1
body: <p>With the update of Android Studio to 3.4 gradle was updated to 5.1.1. With this new version I tried to profile the build speed (<a href="https://developer.android.com/studio/build/optimize-your-build#profile" rel="nofollow noreferrer">https://developer.android.com/studio/build/optimize-your-build#profile</a>) by executing the following command: <code>gradlew --profile --recompile-scripts --offline --rerun-tasks assemble&lt;Flavor&gt;&lt;Buildtype&gt;</code>.
  Sadly the option <code>'--recompile-scripts'</code> is not known anymore. Is there any replacement for this option?</p>