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

Switch Gradle modules to jCenter? #22

Closed
rusio opened this issue Nov 15, 2014 · 4 comments · Fixed by #23
Closed

Switch Gradle modules to jCenter? #22

rusio opened this issue Nov 15, 2014 · 4 comments · Fixed by #23

Comments

@rusio
Copy link

rusio commented Nov 15, 2014

With the default Maven Central repository IntelliJ IDEA downloads a 140 MB repository index file from a slow server. After download is complete, the IDE needs another 20 minutes to index it pushing the CPUs and it still doesn't finish. Perhaps this problem can be avoided by using the jCenter repository for all modules?

@rusio
Copy link
Author

rusio commented Nov 15, 2014

repo1 maven org

@bkimminich
Copy link
Owner

I'm not sure if this is a problem of this project using Maven Central or if it's more a coincidental problem of IDEA being bad at initialy setting up the repo index? I suppose you'd have had the same issue with any other first project in your IDEA which used Maven Central.

@rusio
Copy link
Author

rusio commented Nov 17, 2014

Yes, it could be a problem with Intellij's Gradle integration, for I had the same problem on an Android Project, which was also developed with Gradle and Intellij. There the Problem disappeared when we replaced mavenCentral() with jcenter().

In the TCG build scripts I noticed that some modules use mavenCentral() and others use jcenter(). Was it intentionally, or by coincidence? I don't know how good and how free of commercial intentions jCenter is, but since it is already used, perhaps it would be good to use only one source of artifacts?

bkimminich added a commit that referenced this issue Nov 17, 2014
@bkimminich
Copy link
Owner

That was a coincidence. I switched all repos to jcenter() and if the next Travis job survives this, I'll put that on master. Thanks!

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

Successfully merging a pull request may close this issue.

2 participants