build.gradle 670 B

12345678910111213141516171819202122232425
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. google()
  5. jcenter()
  6. }
  7. dependencies {
  8. classpath "com.android.tools.build:gradle:4.1.1"
  9. classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'//easyPhotos 模块使用
  10. // NOTE: Do not place your application dependencies here; they belong
  11. // in the individual module build.gradle files
  12. }
  13. }
  14. allprojects {
  15. repositories {
  16. maven { url 'https://jitpack.io' }
  17. google()
  18. jcenter()
  19. }
  20. }
  21. task clean(type: Delete) {
  22. delete rootProject.buildDir
  23. }