Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 435 for SELECTION (1.67 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/DefaultComponentSelectionReasonTest.groovy

    import spock.lang.Specification
    
    class DefaultComponentSelectionReasonTest extends Specification {
    
        def "requested only selection reason is expected"() {
            when:
            def reason = ComponentSelectionReasons.requested()
    
            then:
            reason.isExpected()
        }
    
        def "root only selection reason is expected"() {
            when:
            def reason = ComponentSelectionReasons.root()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/CapabilitiesConflictResolutionIssuesIntegrationTest.groovy

                    resolutionStrategy.capabilitiesResolution.all { details ->
                        def selection =
                            details.candidates.find { it.variantName.endsWith('PrefApiElements') }
                        println("Selecting \$selection from \${details.candidates}")
                        details.select(selection)
                    }
                }
    
                configurations.runtimeClasspath {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/DefaultVisitedArtifactResultsTest.groovy

    import org.gradle.api.internal.artifacts.transform.ArtifactVariantSelector
    import spock.lang.Specification
    
    class DefaultVisitedArtifactResultsTest extends Specification {
        def "strict selection includes selected variant of each node"() {
            def artifacts1 = Stub(ArtifactSet)
            def artifacts2 = Stub(ArtifactSet)
            def variant1Artifacts = Stub(ResolvedArtifactSet)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jan 21 03:08:51 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/execution/commandline/CommandLineTaskParser.java

                String path = remainingPaths.remove(0);
                TaskSelection selection = taskSelector.resolveTaskName(taskExecutionRequest.getRootDir(), taskExecutionRequest.getProjectPath(), targetBuild, path);
                Set<Task> tasks = selection.getTasks();
                remainingPaths = taskConfigurer.configureTasks(tasks, remainingPaths);
                out.add(selection);
            }
            return out;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. tools/bug-report/pkg/util/match/match.go

    package match
    
    import (
    	"path/filepath"
    	"strings"
    
    	"istio.io/istio/pkg/log"
    )
    
    func MatchesMap(selection, cluster map[string]string) bool {
    	if len(selection) == 0 {
    		return true
    	}
    	if len(cluster) == 0 {
    		return false
    	}
    
    	for ks, vs := range selection {
    		vc, ok := cluster[ks]
    		if !ok {
    			return false
    		}
    		if !MatchesGlob(vc, vs) {
    			return false
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-selectionRule/kotlin/build.gradle.kts

    tasks.register("printRejectConfig") {
        val rejectConfig: FileCollection = configurations["rejectConfig"]
        doLast {
            rejectConfig.forEach { println("Resolved: ${it.name}") }
        }
    }
    
    // tag::component-selection-with-metadata[]
    configurations {
        create("metadataRulesConfig") {
            resolutionStrategy {
                componentSelection {
                    // Reject any versions with a status of 'experimental'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 01:09:32 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/viewing_debugging_dependencies.adoc

    [[sec:resolving-variant-aware-errors]]
    === Variant Selection Errors
    
    Sometimes a selection error happens at the <<variant_model.adoc#understanding-variant-selection,variant selection level>>.
    Have a look at the <<variant_model.adoc#sec:variant-select-errors,dedicated section>> to understand these errors and how to resolve them.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/dep-man/02-declaring-dependency-versions/dynamic_versions.adoc

    include::sample[dir="snippets/dependencyManagement/customizingResolution-selectionRule/groovy",files="build.gradle[tags=targeted-component-selection]"]
    ====
    
    Component selection rules can also consider component metadata when selecting a version.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 17:38:38 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultPlanExecutor.java

            }
        }
    
        private static class WorkItem {
            final WorkSource.Selection<Object> selection;
            final WorkSource<Object> plan;
            final Action<Object> executor;
    
            public WorkItem(WorkSource.Selection<Object> selection, WorkSource<Object> plan, Action<Object> executor) {
                this.selection = selection;
                this.plan = plan;
                this.executor = executor;
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/exception/package-info.java

     * a configuration by name.
     *
     * Artifact variant selection failures are not represented by a specific exception type, as they are
     * similar to graph selection failures, and the type of failure is more important that the type of
     * resolution being performed in this hierarchy.
     */
    @org.gradle.api.NonNullApi
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top