settings.gradle.kts 600 B

1234567891011121314151617181920212223242526272829
  1. import org.gradle.api.initialization.resolve.RepositoriesMode.FAIL_ON_PROJECT_REPOS
  2. pluginManagement {
  3. repositories {
  4. google {
  5. content {
  6. includeGroupByRegex("com\\.android.*")
  7. includeGroupByRegex("com\\.google.*")
  8. includeGroupByRegex("androidx.*")
  9. }
  10. }
  11. mavenCentral()
  12. gradlePluginPortal()
  13. }
  14. }
  15. dependencyResolutionManagement {
  16. repositoriesMode.set(FAIL_ON_PROJECT_REPOS)
  17. repositories {
  18. google()
  19. mavenCentral()
  20. }
  21. }
  22. rootProject.name = "test"
  23. include(":app")