title: React Native stuck at 'Resolve dependencies'
body: <p>I'm trying to run a React-Native android app using <code>react-native run-android</code>, but it's stuck at</p>
  
  <blockquote>
    <p>&lt;=------------> 12% EXECUTING [8m 44s]</p>
    
    <blockquote>
      <p>:app:preDebugBuild > Resolve dependencies :app:debugRuntimeClasspath > android-job-v1.1.12a-SNAPSHOT.pom</p>
    </blockquote>
  </blockquote>
  
  <p>where <code>android-job-v1.1.12a</code> is a branch in my public repo on GitHub. It seems to get stuck only for some of the branches but not all. For instance, <code>master-SNAPSHOT</code> is fine.</p>
  
  <p>The repositories and dependencies sections of my build.gradle looks like this:</p>
  
  <pre><code>repositories {
      mavenCentral()
      maven { url 'https://jitpack.io' }
  }
  
  dependencies {
      compile 'com.facebook.react:react-native:+'
      implementation 'com.github.myuser:android-job:v1.1.12a-SNAPSHOT'
  }
  </code></pre>
  
  <p>Does anyone know why it gets stuck?</p>
  
  <p>EDIT:</p>
  
  <p>I'm using gradle 4.1.</p>