Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for byConstraint (0.25 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/DependencyLockingLenientModeIntegrationTest.groovy

            resolve.expectGraph {
                root(":", ":depLock:") {
                    edge("org:foo:1.+", "org:foo:1.1") {
                        byConflictResolution("between versions 1.0 and 1.1")
                        byConstraint("dependency was locked to version '1.0' (update/lenient mode)")
                    }
                    edge("org:foo:{strictly 1.1}", "org:foo:1.1")
                    constraint("org:foo:1.0", "org:foo:1.1")
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/constraints/DependencyConstraintsAndResolutionStrategiesIntegrationTest.groovy

                    constraint("org:foo:1.1","org:foo:1.0")
                    module("org:bar:1.0") {
                        edge("org:foo:1.0","org:foo:1.0") {
                            forced()
                            byConstraint()
                        }
                    }
                }
            }
        }
    
        void "fail-on-conflict resolution strategy is applied to dependency constraints"() {
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. platforms/jvm/java-platform/src/integTest/groovy/org/gradle/integtests/resolve/platforms/NativeAlignmentWithJavaPlatformResolveIntegrationTest.groovy

            run ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", ":consumer:") {
                    edge('com.acme.foo:core:1.0', 'com.acme.foo:core:1.1') {
                        byConstraint("platform alignment")
                        byConflictResolution("between versions 1.1 and 1.0")
                        variant "apiElements", [
                            'org.gradle.category':'library',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/constraints/DependencyConstraintsBugsIntegrationTest.groovy

            succeeds ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    edge("org:foo", "org:foo:1.1") {
                        byConstraint()
                    }
                    constraint("org:foo:1.1")
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 29 17:15:55 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/platforms/EnforcedPlatformIntegrationTest.groovy

                    }
                    edge('com.fasterxml.jackson.core:jackson-core', ':jackson-core', 'com.fasterxml.jackson.core:jackson-core:2.12.3-local-patch') {
                        compositeSubstitute()
                        byConstraint()
                    }
                }
            }
        }
    
        def "dependency on unsatisfiable range shouldn't trigger null pointer exception"() {
            settingsFile << """
                include 'platform'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryPublishedTargetJvmEnvironmentIntegrationTest.groovy

                            'org.gradle.dependency.bundling': 'external',
                            'org.gradle.status': 'release'
                        ])
                        byConstraint()
                        artifact(classifier: 'jre')
                    }
                }
            }
        }
    
        def "can select unknown environment"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 13:02:41 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top