Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize google maven downloading #1051

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

Goooler
Copy link
Contributor

@Goooler Goooler commented Nov 20, 2023

Thanks for submitting a pull request. Please include the following information.

What I have done and why

This will speed up dependencies downloading.

Do tests pass?

  • Run local tests on DemoDebug variant: ./gradlew testDemoDebug
  • Check formatting: ./gradlew --init-script gradle/init.gradle.kts spotlessApply

Is this your first pull request?

@Goooler Goooler changed the title Optimise repositories declarations Optimize google maven downloading Jun 15, 2024
@keyboardsurfer keyboardsurfer self-requested a review December 9, 2024 10:58
@keyboardsurfer keyboardsurfer merged commit 55dbe61 into android:main Dec 9, 2024
4 checks passed
@Goooler Goooler deleted the optimize-repos branch December 9, 2024 10:59
@dturner
Copy link
Collaborator

dturner commented Dec 9, 2024

@keyboardsurfer Have you actually tested this? Does it speed up downloading? It seems unnecessary to me.

@SimonMarquis
Copy link
Contributor

It will not speed up downloading per say, but rather prevent pinging Google's maven repository for dependencies that are available only on Maven Central.
That being said, this pattern has been part of the new projet wizard output for quite some time now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants