title: How to disable remote build cache with command line flag in gradle
body: <p>I found <code>--no-build-cache</code> flag, but it disables remote and local cache. </p>
  
  <p>I need to disable only remote. Is it possible?</p>
  
  <p>buildCacheSettings.gradle</p>
  
  <pre><code>buildCache {
      local {
          enabled = true
      }
      remote(HttpBuildCache) {
          url = 'http://mycache/cache'
      }
  }
  </code></pre>