-
Notifications
You must be signed in to change notification settings - Fork 407
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
[Performance] - Import New Project #3302
Comments
You may want to take a look at https://docs.gradle.org/current/userguide/performance.html |
Thank you @snjeza , will this improve the downloading of dependencies if there is only one module? If I understood correctly this will only allow parallel build if there are multiple modules? |
You can also review gradle/gradle#28893 |
Thank you a lot! I just noticed, what will happen in case whe I want the sources to be downloaded, does that happens within jdtls or within respective dependency resolution handler(maven, gradle)? |
For Maven, it's handled by JDT-LS, and the classpath is updated accordingly See https://github.com/eclipse-jdtls/eclipse.jdt.ls/blob/master/org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/managers/MavenSourceDownloader.java ). For Gradle, I think that's handles by the Gradle support, which is packaged in JDT-LS. As long as the maven repository, or the gradle repository has published the source artifacts, then it should work. |
@rgrunber thank you for the info. This issue can be closed. |
When I import large projects, let's take into example spring-boot, I can see in bottom bar the Java notification, and to me it seems like dependecies are downloaded one by one. I am wondering whether that is the case, and could it be somehow parallelized?
The text was updated successfully, but these errors were encountered: