build.gradle 927 B

12345678910111213141516171819202122232425262728293031323334353637
  1. buildscript {
  2. repositories {
  3. google()
  4. mavenCentral()
  5. jcenter()
  6. }
  7. dependencies {
  8. classpath 'com.android.tools.build:gradle:4.1.1'
  9. classpath 'org.owasp:dependency-check-gradle:5.3.2'
  10. // NOTE: Do not place your application dependencies here; they belong
  11. // in the individual module build.gradle files
  12. }
  13. }
  14. allprojects {
  15. repositories {
  16. google()
  17. mavenCentral()
  18. jcenter()
  19. maven { url "https://dl.bintray.com/threema/maven" }
  20. flatDir {
  21. dirs 'libs'
  22. }
  23. }
  24. // OWASP dependency-check-gradle plugin
  25. apply plugin: 'org.owasp.dependencycheck'
  26. dependencyCheck {
  27. skipConfigurations += 'lintClassPath'
  28. // Fail dependency check if any dependency has a CVE with any score (0-10)
  29. failBuildOnCVSS 11
  30. }
  31. }
  32. wrapper {
  33. distributionType = Wrapper.DistributionType.ALL
  34. }