build.gradle 843 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. maven { url "https://jitpack.io" }
  8. }
  9. afterEvaluate {
  10. tasks.withType(Test) {
  11. // Allow tests to be re-run if any optional tests are enabled
  12. outputs.upToDateWhen { System.getenv("OPTIONAL_TESTS") == null }
  13. // Use entropy-gathering device specified on command line, if any
  14. systemProperty 'java.security.egd', System.getProperty('java.security.egd')
  15. }
  16. }
  17. }
  18. buildscript {
  19. repositories {
  20. jcenter()
  21. mavenLocal()
  22. google()
  23. maven {
  24. url 'https://plugins.gradle.org/m2/'
  25. }
  26. }
  27. dependencies {
  28. classpath 'com.android.tools.build:gradle:4.1.1'
  29. classpath 'ru.vyarus:gradle-animalsniffer-plugin:1.5.0'
  30. classpath files('libs/gradle-witness.jar')
  31. }
  32. }