// Top-level build file where you can add configuration options common to all sub-projects/modules. apply plugin: 'com.github.ben-manes.versions' buildscript { ext { kotlinVersion = '1.3.11' minSdkVersion = 21 } repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.3.0' classpath 'com.github.ben-manes:gradle-versions-plugin:0.20.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" } } allprojects { repositories { google() jcenter() } } task clean(type: Delete) { delete rootProject.buildDir }