build.gradle 591 B

12345678910111213141516171819202122232425
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext.kotlin_version = '1.5.0'
  4. repositories {
  5. google()
  6. mavenCentral()
  7. }
  8. dependencies {
  9. classpath "com.android.tools.build:gradle:4.2.0"
  10. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  11. }
  12. }
  13. allprojects {
  14. repositories {
  15. google()
  16. mavenCentral()
  17. jcenter() // Warning: this repository is going to shut down soon
  18. }
  19. }
  20. task clean(type: Delete) {
  21. delete rootProject.buildDir
  22. }