build.gradle 859 B

123456789101112131415161718192021222324252627282930313233343536
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. allprojects {
  3. repositories {
  4. jcenter()
  5. mavenLocal()
  6. google()
  7. }
  8. afterEvaluate {
  9. tasks.withType(Test) {
  10. // Allow tests to be re-run if any optional tests are enabled
  11. outputs.upToDateWhen { System.getenv("OPTIONAL_TESTS") == null }
  12. // Use entropy-gathering device specified on command line, if any
  13. systemProperty 'java.security.egd', System.getProperty('java.security.egd')
  14. }
  15. }
  16. }
  17. buildscript {
  18. repositories {
  19. jcenter()
  20. mavenLocal()
  21. google()
  22. maven {
  23. url 'https://plugins.gradle.org/m2/'
  24. }
  25. }
  26. dependencies {
  27. classpath 'com.android.tools.build:gradle:3.2.1'
  28. classpath 'net.ltgt.gradle:gradle-apt-plugin:0.18'
  29. classpath 'ru.vyarus:gradle-animalsniffer-plugin:1.4.6'
  30. classpath files('libs/gradle-witness.jar')
  31. }
  32. }