build.gradle 1023 B

1234567891011121314151617181920212223242526272829303132333435
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. apply from: "config.gradle"
  3. buildscript {
  4. repositories {
  5. google()
  6. jcenter()
  7. mavenCentral()
  8. maven{ url 'http://maven.aliyun.com/nexus/content/groups/public'}
  9. }
  10. dependencies {
  11. classpath 'com.android.tools.build:gradle:3.5.3'
  12. // classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
  13. // classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
  14. // classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
  15. // NOTE: Do not place your application dependencies here; they belong
  16. // in the individual module build.gradle files
  17. }
  18. }
  19. allprojects {
  20. repositories {
  21. maven { url "https://jitpack.io" }
  22. google()
  23. jcenter()
  24. mavenCentral()
  25. maven{ url 'http://maven.aliyun.com/nexus/content/groups/public'}
  26. }
  27. }
  28. task clean(type: Delete) {
  29. delete rootProject.buildDir
  30. }