title: In 2021, best replacement for "jcenter()"?
body: <p>Android experts,</p>
  <blockquote>
  <p>Please remove usages of `jcenter()` Maven repository from your build scripts and migrate your build to other Maven repositories.</p>
  </blockquote>
  <p>In practice today, what should I replace &quot;jcenter&quot; with in the below?</p>
  <p>Unfortunately all information on this seems to have changed drastically the last year or two? Hence asking the experts here.</p>
  <p>App is 24+ only if it matters.</p>
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  buildscript {
      repositories {
          google()
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:4.2.0-beta06'
      }
  }
  allprojects {
      repositories {
          google()
          jcenter()
          maven { url &quot;https://jitpack.io&quot; }
      }
  }
  </code></pre>