- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for resolveNextConflict (0.19 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/ConflictHandler.java
/** * Informs whether there is any conflict at present */ boolean hasConflicts(); /** * Resolves next conflict and trigger provided action after the resolution */ void resolveNextConflict(Action<RESULT> resolutionAction); /** * Indicates if the identifier is a known participant in a conflict * * @param id the identifier to check
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 07 23:54:34 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/DefaultConflictHandlerTest.groovy
def a = candidate("org", "a", "1", "2") handler.registerCandidate(a) when: details.getCandidates() >> { a.versions.findAll { it.id.version in ['1', '2']} } handler.resolveNextConflict { ConflictResolutionResult r -> assert r.selected.id == newId("org", "a", "2") } then: 1 * resolver.select(_) >> { args -> def details = args[0]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/DefaultConflictHandler.java
* Resolves the conflict by delegating to the conflict resolver who selects single version from given candidates. Executes provided action against the conflict resolution result object. */ @Override public void resolveNextConflict(Action<ConflictResolutionResult> resolutionAction) { assert hasConflicts(); ConflictContainer<ModuleIdentifier, ComponentState>.Conflict conflict = conflicts.popConflict();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 02:21:08 UTC 2024 - 5.2K bytes - Viewed (0)