// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { ext.kotlin_version = '1.4.32' repositories { google() mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:4.1.3' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } allprojects { repositories { google() mavenCentral() maven { url 'https://jitpack.io' } } afterEvaluate { tasks.withType(JavaCompile.class) { options.compilerArgs << "-Xmaxerrs" << "1000" } } } ext { compileSdkVersion = 29 minSdkVersion = 21 targetSdkVersion = 29 buildToolsVersion = "29.0.3" } task clean(type: Delete) { delete rootProject.buildDir }