settings.gradle 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. pluginManagement {
  2. repositories {
  3. google {
  4. content {
  5. includeGroupByRegex("com\\.android.*")
  6. includeGroupByRegex("com\\.google.*")
  7. includeGroupByRegex("androidx.*")
  8. }
  9. }
  10. //原仓库
  11. gradlePluginPortal()
  12. mavenCentral()
  13. //镜像仓库,无法连接源仓库自行启用镜像仓库,不要提交修改
  14. //maven { url "https://maven-central-asia.storage-download.googleapis.com/maven2/" }
  15. //maven { url 'https://maven.aliyun.com/repository/google' }
  16. //maven { url 'https://maven.aliyun.com/repository/public' }
  17. //maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
  18. //maven { url 'https://repo.huaweicloud.com/repository/maven/' }
  19. }
  20. }
  21. plugins {
  22. id 'org.gradle.toolchains.foojay-resolver-convention' version '1.0.0'
  23. }
  24. dependencyResolutionManagement {
  25. repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
  26. repositories {
  27. //原仓库
  28. google {
  29. content {
  30. includeGroupByRegex("com\\.android.*")
  31. includeGroupByRegex("com\\.google.*")
  32. includeGroupByRegex("androidx.*")
  33. }
  34. }
  35. maven {
  36. url = uri("https://jitpack.io")
  37. content {
  38. includeGroupByRegex("com\\.github.*")
  39. }
  40. }
  41. mavenCentral()
  42. //镜像仓库,无法连接源仓库自行启用镜像仓库,不要提交修改
  43. //maven { url "https://maven-central-asia.storage-download.googleapis.com/maven2/" }
  44. //maven { url 'https://maven.aliyun.com/repository/google' }
  45. //maven { url 'https://maven.aliyun.com/repository/public' }
  46. //maven { url 'https://repo.huaweicloud.com/repository/maven/' }
  47. }
  48. }
  49. rootProject.name = 'legado'
  50. include ':app'
  51. include ':modules:book'
  52. include ':modules:rhino'
  53. include ':baselineprofile'
  54. project(':baselineprofile').projectDir = file('baselineProfile')