build.gradle 956 B

123456789101112131415161718192021222324252627282930313233343536
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. jcenter()
  5. maven { url "https://jitpack.io" }
  6. maven {
  7. url 'https://maven.google.com/'
  8. name 'Google'
  9. }
  10. google()
  11. }
  12. dependencies {
  13. classpath 'com.android.tools.build:gradle:3.3.2'
  14. // classpath 'com.jakewharton:butterknife-gradle-plugin:8.8.1'
  15. classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2' // add plugin
  16. // NOTE: Do not place your application dependencies here; they belong
  17. // in the individual module build.gradle files
  18. }
  19. }
  20. allprojects {
  21. repositories {
  22. google()
  23. jcenter()
  24. maven { url "https://jitpack.io" }
  25. maven {
  26. url 'https://maven.google.com/'
  27. name 'Google'
  28. }
  29. }
  30. }
  31. task clean(type: Delete) {
  32. delete rootProject.buildDir
  33. }