title: how to sync gradle with terminal
body: <p>Android studio sync build.gradle is so slow,
  this is a part of log:</p>
  
  <pre><code>:app:incrementalApkFlavorReleaseUnitTestJavaCompilationSafeguard UP-TO-DATE
  :app:preApkFlavorReleaseUnitTestBuild UP-TO-DATE
  :app:prepareApkFlavorReleaseUnitTestDependencies
  :app:compileApkFlavorReleaseUnitTestJavaWithJavac UP-TO-DATE
  :app:processApkFlavorReleaseUnitTestJavaRes UP-TO-DATE
  :app:compileApkFlavorReleaseUnitTestSources UP-TO-DATE
  :app:assembleApkFlavorReleaseUnitTest
  :app:testApkFlavorReleaseUnitTest UP-TO-DATE
  :app:incrementalPluginFlavorDebugUnitTestJavaCompilationSafeguard UP-TO-DATE
  :app:prePluginFlavorDebugUnitTestBuild UP-TO-DATE
  :app:preparePluginFlavorDebugUnitTestDependencies
  :app:compilePluginFlavorDebugUnitTestJavaWithJavac UP-TO-DATE
  :app:processPluginFlavorDebugUnitTestJavaRes UP-TO-DATE
  :app:compilePluginFlavorDebugUnitTestSources UP-TO-DATE
  :app:assemblePluginFlavorDebugUnitTest
  :app:testPluginFlavorDebugUnitTest UP-TO-DATE
  :app:incrementalPluginFlavorReleaseUnitTestJavaCompilationSafeguard UP-TO-DATE
  :app:prePluginFlavorReleaseUnitTestBuild UP-TO-DATE
  :app:preparePluginFlavorReleaseUnitTestDependencies
  :app:compilePluginFlavorReleaseUnitTestJavaWithJavac UP-TO-DATE
  :app:processPluginFlavorReleaseUnitTestJavaRes UP-TO-DATE
  :app:compilePluginFlavorReleaseUnitTestSources UP-TO-DATE
  :app:assemblePluginFlavorReleaseUnitTest
  :app:testPluginFlavorReleaseUnitTest UP-TO-DATE
  :app:test UP-TO-DATE
  :app:check
  :app:build
  
  BUILD SUCCESSFUL
  </code></pre>
  
  <p>it will build all flavor ,do check , etc..  I was very hurt, you never know how hard one gay from China want to build a project.  the slow DNS, the netwok limit.. Pzzzz.. my heart..oh..</p>
  
  <p>So, what can i do with terminal , is there a task do sync ?  I don't want do any  redundant task.
  By the way , can I see the source code of android studio sync ? can i configure it?</p>