build.gradle 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. allprojects {
  3. repositories {
  4. mavenCentral()
  5. jcenter()
  6. mavenLocal()
  7. google()
  8. maven { url "https://jitpack.io" }
  9. }
  10. afterEvaluate {
  11. tasks.withType(Test) {
  12. // Allow tests to be re-run if any optional tests are enabled
  13. outputs.upToDateWhen { System.getenv("OPTIONAL_TESTS") == null }
  14. // Use entropy-gathering device specified on command line, if any
  15. systemProperty 'java.security.egd', System.getProperty('java.security.egd')
  16. }
  17. }
  18. }
  19. buildscript {
  20. repositories {
  21. jcenter()
  22. mavenLocal()
  23. google()
  24. maven {
  25. url 'https://plugins.gradle.org/m2/'
  26. }
  27. }
  28. dependencies {
  29. classpath 'com.android.tools.build:gradle:7.0.3'
  30. classpath 'ru.vyarus:gradle-animalsniffer-plugin:1.5.3'
  31. classpath files('libs/gradle-witness.jar')
  32. }
  33. ext {
  34. dagger_version = "2.33"
  35. // okhttp 3.12.x is supported until end of 2021, newer versions need minSdk 21
  36. okhttp_version = "3.12.13"
  37. jackson_version = "2.13.0"
  38. tor_version = "0.4.5.12-2"
  39. obfs4proxy_version = "0.0.12"
  40. junit_version = "4.13.2"
  41. jmock_version = '2.12.0'
  42. }
  43. }