// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { maven { url "https://plugins.gradle.org/m2/" } google() mavenCentral() maven { url 'https://maven.google.com' } jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.5.2' classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.7" } } apply plugin: "org.sonarqube" allprojects { repositories { google() mavenCentral() maven { url 'https://maven.google.com' } jcenter() } }