buildscript { repositories { google() mavenCentral() maven { url 'https://plugins.gradle.org/m2/' } } dependencies { classpath 'com.android.tools.build:gradle:4.2.1' } } allprojects { repositories { mavenCentral() maven { url 'https://plugins.gradle.org/m2/' } } }