Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,131 for Constraint (0.29 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/result/DefaultUnresolvedDependencyResult.java

        public DefaultUnresolvedDependencyResult(ComponentSelector requested, boolean constraint, ComponentSelectionReason reason,
                                                 ResolvedComponentResult from, ModuleVersionResolveException failure) {
            super(requested, from, constraint);
            this.reason = reason;
            this.failure = failure;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/DependenciesAttributesIntegrationTest.groovy

                        byConstraint()
                    }
                    constraint('org:test:1.0', 'org:test:1.0')
                }
            }
    
            and:
            outputDoesNotContain("Cannot set attributes for constraint \"org:test:1.0\": it was probably created by a plugin using internal APIs")
        }
    
        def "attributes declared on constraints contribute to graph selection"() {
            given:
            settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 02:13:52 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  3. testing/soak/src/integTest/groovy/org/gradle/connectivity/MavenGoogleDependencyResolveIntegrationTest.groovy

                    into "\$buildDir/libs"
                }
            """
    
            when:
            succeeds 'copyLibs'
    
            then:
            file('build/libs').assertHasDescendants('constraint-layout-1.0.2.aar', 'constraint-layout-solver-1.0.2.jar')
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. src/internal/types/testdata/examples/inference.go

    	// Alternatively, the 2nd type argument can be inferred
    	// from the first one through constraint type inference.
    	var ss []string
    	_ = related2[string]
    	related2[string]("foo", ss)
    
    	// A type argument may be inferred from a value argument
    	// and then help infer another type argument via constraint
    	// type inference. Untyped arguments are always considered
    	// last.
    	related2(1.2, []float64{})
    	related2(1.0, []int{})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 02 16:49:45 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/dep-man/02-declaring-dependency-versions/rich_versions.adoc

    | 1.5
    |
    |
    |
    | 1.5, or failure if another `strict` or higher `require` constraint disagrees. +
    Overwrites versions from transitive dependencies.
    
    | `1.5` or a patch version of it exclusively.
    | [1.5,1.6[
    |
    |
    |
    | Latest `1.5.x` patch release, or failure if another `strict` or higher `require` constraint disagrees. +
    Overwrites versions from transitive dependencies. +
    🔒
    |===
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/cycles5a.go

    type sourceBridge interface {
    	listVersions() ([]Version, error)
    }
    
    type Constraint interface {
    	copyTo(*ConstraintMsg)
    }
    
    type ConstraintMsg struct{}
    
    func (m *ConstraintMsg) asUnpairedVersion() UnpairedVersion {
    	return nil
    }
    
    type Version interface {
    	Constraint
    }
    
    type UnpairedVersion interface {
    	Version
    }
    
    var _ Constraint = UnpairedVersion(nil)
    
    
    // derived test case from issue #21804
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/design/gradle-module-metadata-latest-specification.md

    - `group`: The group of the dependency constraint.
    - `module`: The module of the dependency constraint.
    - `version`: optional. The version constraint of the dependency constraint.
    - `reason`: optional. A explanation why the constraint is used. Can typically be used to explain why a specific version is rejected, or from where a platform comes from.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 16:14:11 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. tests/table_test.go

    			t.Fatalf("failed to parse user unique, got error %v", err)
    		}
    
    		constraints := user.ParseUniqueConstraints()
    		if len(constraints) != 1 {
    			t.Fatalf("failed to find unique constraint, got %v", constraints)
    		}
    
    		for key := range constraints {
    			if len(key) != 63 {
    				t.Errorf("failed to find unique constraint, got %v", constraints)
    			}
    		}
    	})
    
    	t.Run("naming strategy", func(t *testing.T) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Mar 09 09:31:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. src/go/internal/gcimporter/iimport.go

    			implicit = r.bool()
    		}
    		constraint := r.typ()
    		if implicit {
    			iface, _ := constraint.(*types.Interface)
    			if iface == nil {
    				errorf("non-interface constraint marked implicit")
    			}
    			iface.MarkImplicit()
    		}
    		// The constraint type may not be complete, if we
    		// are in the middle of a type recursion involving type
    		// constraints. So, we defer SetConstraint until we have
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java

        }
    
        @Override
        public VersionConstraint parseVersionConstraint(String constraint) {
            requireNonNull(constraint, "constraint");
            return new DefaultVersionConstraint(versionScheme, constraint);
        }
    
        static class DefaultVersion implements Version {
            private final VersionScheme versionScheme;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top