build.gradle 837 B

1234567891011121314151617181920212223242526272829303132333435
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext {
  4. kotlin_version = '1.3.72'
  5. // Sdk and tools
  6. compileSdkVersion = 29
  7. minSdkVersion = 21
  8. targetSdkVersion = 29
  9. }
  10. repositories {
  11. google()
  12. jcenter()
  13. }
  14. dependencies {
  15. classpath 'com.android.tools.build:gradle:3.6.4'
  16. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  17. classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.10.0"
  18. classpath 'com.dicedmelon.gradle:jacoco-android:0.1.4'
  19. }
  20. }
  21. allprojects {
  22. apply from: "$rootDir/detekt.gradle"
  23. repositories {
  24. google()
  25. jcenter()
  26. }
  27. }
  28. task clean(type: Delete) {
  29. delete rootProject.buildDir
  30. }