Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 372 for Constraint (0.21 sec)

  1. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publication/MavenComponentParser.java

                // We use component-level precision for dependency constraints since it is hard to implement correctly.
                // To publish a dependency constraint to Maven, we would need to publish a constraint for _each_ coordinate
                // that the component could be resolved to. Resolution results do not support this type of query, so this
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 18:52:27 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyGradleModuleMetadataPublishIntegrationTest.groovy

                dependency('org:foo:1.0') {
                    hasAttribute('custom', 'foo')
                }
                constraint('org:bar:2.0') {
                    hasAttribute('nice', true)
                }
                noMoreDependencies()
            }
        }
    
        def "publishes component with strict version constraints"() {
            settingsFile << "rootProject.name = 'root'"
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 07:21:42 UTC 2023
    - 30.4K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/initialization/DefaultScriptClassPathResolver.java

            DependencyHandler dependencyHandler = resolutionContext.getDependencyHandler();
            configuration.getDependencyConstraints().add(dependencyHandler.getConstraints().create(Log4jBannedVersion.LOG4J2_CORE_COORDINATES, constraint -> constraint.version(version -> {
                version.require(Log4jBannedVersion.LOG4J2_CORE_REQUIRED_VERSION);
                version.reject(Log4jBannedVersion.LOG4J2_CORE_VULNERABLE_VERSION_RANGE);
            })));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/insight/DependencyInsightReporter.java

                case COMPOSITE_BUILD:
                    return "By composite build";
                case REJECTION:
                    return "Rejection";
                case CONSTRAINT:
                    return "By constraint";
                case BY_ANCESTOR:
                    return "By ancestor";
                default:
                    assert false : "Missing an enum value " + cause;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/dependency_downgrade_and_exclude.adoc

    Then this would trigger a resolution error because `A` says it needs `C:1.1` but `B`, _within its subgraph_, strictly needs `1.0`.
    This means that if you choose a _single version_ in a strict constraint, then the version can _no longer be upgraded_, unless the consumer also sets a strict version constraint on the same module.
    
    In the example above, `A` would have to say it _strictly depends on 1.1_.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/dependency_version_alignment.adoc

    ====
    
    It is important that the platform contains a constraint on all the components, but also that each component has a dependency on the platform.
    By doing this, whenever Gradle will add a dependency to a module of the platform on the graph, it will _also_ include constraints on the other modules of the platform.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  7. src/cmd/go/internal/help/helpdoc.go

    only by blank lines and other comments. These rules mean that in Go
    files a build constraint must appear before the package clause.
    
    To distinguish build constraints from package documentation,
    a build constraint should be followed by a blank line.
    
    A build constraint comment is evaluated as an expression containing
    build tags combined by ||, &&, and ! operators and parentheses.
    Operators have the same meaning as in Go.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/dependencies/TestSuitesKotlinDSLDependenciesIntegrationTest.groovy

                    val test by getting(JvmTestSuite::class) {
                        dependencies {
                            // Constrain commons-lang3 and guava
                            implementation(constraint("org.apache.commons:commons-lang3:3.12.0"))
                            implementation(constraint("com.google.guava:guava:33.0.0-jre"))
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 11 16:25:08 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.h

    // The state for rescaling the propagated quantization parameters. This can be
    // on the input side to satisfy the constraint of previous operation, or on the
    // output side to satisfy the constraint of the next operation.
    struct RequantizeState {
      // Sometimes, we have to "requantize" the quantization result to satisfy all
      // the constraints. The "requantize" can happen either on the input or output
      // of the quantization result.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:42:17 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  10. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenGradleModuleMetadataPublishIntegrationTest.groovy

                dependency('org:foo:1.0') {
                    hasAttribute('custom', 'foo')
                }
                constraint('org:bar:2.0') {
                    hasAttribute('nice', true)
                }
                noMoreDependencies()
            }
        }
    
        def "publishes component with strict version constraints"() {
            settingsFile << "rootProject.name = 'root'"
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 07:21:42 UTC 2023
    - 29.4K bytes
    - Viewed (0)
Back to top