// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { ext { kotlin_version = '1.3.72' // Sdk and tools compileSdkVersion = 29 minSdkVersion = 21 targetSdkVersion = 29 } repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.6.4' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.10.0" classpath 'com.dicedmelon.gradle:jacoco-android:0.1.4' } } allprojects { apply from: "$rootDir/detekt.gradle" repositories { google() jcenter() } } task clean(type: Delete) { delete rootProject.buildDir }