build.gradle 792 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext.kotlin_version = '1.2.20'
  4. repositories {
  5. google()
  6. jcenter()
  7. }
  8. dependencies {
  9. classpath 'com.android.tools.build:gradle:3.0.1'
  10. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  11. // NOTE: Do not place your application dependencies here; they belong
  12. // in the individual module build.gradle files
  13. }
  14. }
  15. ext {
  16. compileSdkVersion = 26
  17. minSdkVersion = 16
  18. targetSdkVersion = 26
  19. supportLibVersion = '26.1.0'
  20. okhttpVersion = '3.9.1'
  21. }
  22. allprojects {
  23. repositories {
  24. google()
  25. jcenter()
  26. }
  27. }
  28. task clean(type: Delete) {
  29. delete rootProject.buildDir
  30. }