resolver

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Apply `Anonymous type can be replaced with lambda` inspection the whole project

    • -14
    • +4
    ./DefaultIdeDependencyResolver.java
  1. … 665 more files in changeset.
Apply `Explicit type can be replaced with <>` inspection the whole project

  1. … 909 more files in changeset.
Restore runtime classpath separation for previous Buildship releases

Restore runtime classpath separation for previous Buildship releases

We introduced test sources feature for Buildship in commit

35f8114ecbf9f1112bdbdbd8522fc083db1ef742. This change, however,

removed the scope information from the classpath used by previous

Buildship releases. To restore backward compatibility, this commit

restores scope information in the Eclipse plugin.

  1. … 11 more files in changeset.
Pass only boolean 'testDependency' argument to IdeDependenciesVisitor

  1. … 4 more files in changeset.
Pass only boolean 'testDependency' argument to IdeDependenciesVisitor

  1. … 4 more files in changeset.
Change few private methods to static

  1. … 252 more files in changeset.
Organize imports

  1. … 338 more files in changeset.
Replace anonymous classes with lambdas

    • -14
    • +4
    ./DefaultIdeDependencyResolver.java
  1. … 710 more files in changeset.
Replace anonymous classes with lambdas

    • -12
    • +4
    ./DefaultIdeDependencyResolver.java
  1. … 694 more files in changeset.
Remove synthetic accessors for internal private symbol references

  1. … 901 more files in changeset.
Remove synthetic accessors for internal private symbol references

  1. … 901 more files in changeset.
Remove synthetic accessors for internal private symbol references

  1. … 889 more files in changeset.
Remove synthetic accessors for internal private symbol references

  1. … 896 more files in changeset.
Remove synthetic accessors for internal private symbol references

  1. … 901 more files in changeset.
Remove synthetic accessors for internal private symbol references

  1. … 901 more files in changeset.
Replace Buildship custom classpath filtering with the Eclipse 'test sources' feature

The custom classpath filtering is confusing to our users and prone

to errors. We decided to replace it with Eclipse's built-in test

source feature which was introduced in Eclipse Photon:

https://www.eclipse.org/eclipse/news/4.8/jdt.php#jdt-test-sources

  1. … 17 more files in changeset.
Prototype for replacing Buildship custom classpath filtering with Eclipse test sources

  1. … 17 more files in changeset.
Replace Buildship custom classpath filtering with the Eclipse 'test sources' feature

The custom classpath filtering is confusing to our users and prone

to errors. We decided to replace it with Eclipse's built-in test

source feature which was introduced in Eclipse Photon:

https://www.eclipse.org/eclipse/news/4.8/jdt.php#jdt-test-sources

  1. … 17 more files in changeset.
Prototype for replacing Buildship custom classpath filtering with Eclipse test sources

  1. … 16 more files in changeset.
Replace Buildship custom classpath filtering with the Eclipse 'test sources' feature

The custom classpath filtering is confusing to our users and prone

to errors. We decided to replace it with Eclipse's built-in test

source feature which was introduced in Eclipse Photon:

https://www.eclipse.org/eclipse/news/4.8/jdt.php#jdt-test-sources

  1. … 17 more files in changeset.
Prototype for replacing Buildship custom classpath filtering with Eclipse test sources

  1. … 17 more files in changeset.
Prototype for replacing Buildship custom classpath filtering with Eclipse test sources

  1. … 16 more files in changeset.
Replace Buildship custom classpath filtering with the Eclipse 'test sources' feature

The custom classpath filtering is confusing to our users and prone

to errors. We decided to replace it with Eclipse's built-in test

source feature which was introduced in Eclipse Photon:

https://www.eclipse.org/eclipse/news/4.8/jdt.php#jdt-test-sources

  1. … 17 more files in changeset.
Prototype for replacing Buildship custom classpath filtering with Eclipse test sources

  1. … 18 more files in changeset.
Use dummy files relative to project dir in IDE import

  1. … 2 more files in changeset.
Normalize `ModuleIdentifier`

This commit reworks the `ComponentModuleIdentifier`/`ComponentModuleSelector`/`ModuleVersionSelector`

classes to use `ModuleIdentifier` under the hood, instead of storing denormalized strings. This has

the advantage that we can reduce the use of the module identifier factory, which is called very

often during dependency resolution. Sharing instances reduces the need for conversions, and makes

comparisons faster.

  1. … 164 more files in changeset.
Make IDE dependency generation more efficient

Only do a single query to collect project, module

and file dependencies. Get rid of the intermediate

object model and use a visitor pattern to adapt the

data to the specific IDE models instead.

    • -112
    • +15
    ./DefaultIdeDependencyResolver.java
    • -0
    • +233
    ./IdeDependencySet.java
    • -0
    • +66
    ./IdeDependencyVisitor.java
    • -35
    • +0
    ./UnresolvedDependenciesLogger.java
    • -0
    • +44
    ./UnresolvedIdeDependencyHandler.java
    • -39
    • +11
    ./model/IdeExtendedRepoFileDependency.java
    • -31
    • +0
    ./model/IdeLocalFileDependency.java
    • -40
    • +0
    ./model/UnresolvedIdeRepoFileDependency.java
    • -27
    • +0
    ./translator/ExternalModuleDependencyTranslator.java
  1. … 21 more files in changeset.
Start using ComponentIdentifier in IdeRepoFileDependency

ModuleVersionIdentifier is part of the old resolution engine

and will eventually be removed. Start pushing ComponentIdentifier

down the chain instead, but keep a conversion method for backwards

compatibility.

  1. … 1 more file in changeset.
Use ArtifactView API in IDE plugins

For a long time the IDE plugins have been using a

half-backed custom resolution engine which was slow

and buggy. Most importantly they were using APIs like

SelfResolvingDependency and ResolvedConfiguration which

we want to deprecate soon. Since these APIs don't contain

enough information, it was also using the resolved graph

to get that information. Accessing the full graph is memory

intensive though, so it should be avoided when possible.

They now use the new ArtifactView API, which is more efficient.

This also removes any potential discrepancies between resolution

during normal task execution and resolution when importing into

an IDE.

    • -138
    • +60
    ./DefaultIdeDependencyResolver.java
  1. … 2 more files in changeset.
Added a public API reachable from `DependencyHandler` that allows a plugin to define attributes that should be attached to artifacts with a given extension, for example when consuming a Maven module or files defined by a file dependency.

The intention is that this meta-data about artifact types would complement (and maybe serve as input for) additional meta-data attached to a Maven/Ivy/local module by various meta-data rules.

  1. … 23 more files in changeset.