build.gradle 832 B

123456789101112131415161718192021222324252627282930
  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. jcenter()
  7. }
  8. dependencies {
  9. classpath "com.android.tools.build:gradle:4.0.0"
  10. classpath 'org.greenrobot:greendao-gradle-plugin:3.3.0' // add plugin
  11. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  12. // NOTE: Do not place your application dependencies here; they belong
  13. // in the individual module build.gradle files
  14. }
  15. }
  16. allprojects {
  17. repositories {
  18. google()
  19. jcenter()
  20. maven { url 'https://jitpack.io' }
  21. maven { url 'https://maven.aliyun.com/repository/public/' }
  22. }
  23. }
  24. task clean(type: Delete) {
  25. delete rootProject.buildDir
  26. }