build.gradle 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 {
  6. url 'https://maven.google.com/'
  7. name 'Google'
  8. }
  9. google()
  10. }
  11. dependencies {
  12. classpath 'com.android.tools.build:gradle:3.2.0'
  13. classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3"
  14. classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
  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. jcenter()
  22. google()
  23. maven {
  24. url 'https://maven.google.com/'
  25. name 'Google'
  26. // url 'https://jitpack.io'
  27. }
  28. maven { url 'https://jitpack.io' }
  29. }
  30. // repositories {
  31. // mavenCentral() // jcenter() works as well because it pulls from Maven Central
  32. // }
  33. }
  34. task clean(type: Delete) {
  35. delete rootProject.buildDir
  36. }