settings.gradle 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. pluginManagement {
  2. /**
  3. * The pluginManagement.repositories block configures the
  4. * repositories Gradle uses to search or download the Gradle plugins and
  5. * their transitive dependencies. Gradle pre-configures support for remote
  6. * repositories such as JCenter, Maven Central, and Ivy. You can also use
  7. * local repositories or define your own remote repositories. The code below
  8. * defines the Gradle Plugin Portal, Google's Maven repository,
  9. * and the Maven Central Repository as the repositories Gradle should use to look for its
  10. * dependencies.
  11. */
  12. repositories {
  13. gradlePluginPortal()
  14. google()
  15. mavenCentral()
  16. }
  17. }
  18. dependencyResolutionManagement {
  19. /**
  20. * The dependencyResolutionManagement.repositories
  21. * block is where you configure the repositories and dependencies used by
  22. * all modules in your project, such as libraries that you are using to
  23. * create your application. However, you should configure module-specific
  24. * dependencies in each module-level build.gradle file. For new projects,
  25. * Android Studio includes Google's Maven repository and the Maven Central
  26. * Repository by default, but it does not configure any dependencies (unless
  27. * you select a template that requires some).
  28. */
  29. repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
  30. repositories {
  31. google()
  32. mavenCentral()
  33. maven {
  34. url 'https://jitpack.io'
  35. content {
  36. includeModule('com.github.topjohnwu.libsu', 'core')
  37. }
  38. }
  39. }
  40. }
  41. include ':ffupdater'