settings.gradle.kts 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. pluginManagement {
  2. resolutionStrategy {
  3. eachPlugin {
  4. val regex = "com.android.(library|application)".toRegex()
  5. if (regex matches requested.id.id) {
  6. useModule("com.android.tools.build:gradle:${requested.version}")
  7. }
  8. }
  9. }
  10. repositories {
  11. gradlePluginPortal()
  12. google()
  13. mavenCentral()
  14. maven(url = "https://www.jitpack.io")
  15. }
  16. }
  17. dependencyResolutionManagement {
  18. versionCatalogs {
  19. create("kotlinx") {
  20. from(files("gradle/kotlinx.versions.toml"))
  21. }
  22. create("androidx") {
  23. from(files("gradle/androidx.versions.toml"))
  24. }
  25. create("compose") {
  26. from(files("gradle/compose.versions.toml"))
  27. }
  28. }
  29. repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
  30. repositories {
  31. mavenCentral()
  32. google()
  33. maven(url = "https://www.jitpack.io")
  34. }
  35. }
  36. rootProject.name = "Tachiyomi"
  37. include(":app")
  38. include(":i18n")
  39. include(":source-api")
  40. include(":core")
  41. include(":macrobenchmark")
  42. include(":data")
  43. include(":domain")
  44. include(":presentation-widget")
  45. include(":presentation-core")
  46. include(":source-local")
  47. include(":core-metadata")