build.gradle 918 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. apply from:'version.gradle'
  3. buildscript {
  4. repositories {
  5. jcenter()
  6. google()
  7. maven { url "http://10.0.18.175/nexus/content/groups/and-rep/" }
  8. }
  9. dependencies {
  10. classpath 'com.android.tools.build:gradle:3.1.1'
  11. // NOTE: Do not place your application dependencies here; they belong
  12. // in the individual module build.gradle files
  13. }
  14. }
  15. allprojects {
  16. repositories {
  17. jcenter()
  18. google()
  19. maven { url "http://10.0.18.175/nexus/content/groups/and-rep/" }
  20. }
  21. tasks.whenTaskAdded { task ->
  22. if (task.name.contains("AndroidTest")) {
  23. task.enabled = false
  24. }
  25. if (task.name == "lint") {
  26. task.enabled = false
  27. }
  28. }
  29. }
  30. task clean(type: Delete) {
  31. delete rootProject.buildDir
  32. }