Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for byConstraint (0.15 sec)

  1. 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)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/strict/StrictVersionConstraintsFeatureInteractionIntegrationTest.groovy

                    module('org:bar:1.0') {
                        edge('org:foo:2.0', 'org:foo:1.0') {
                            notRequested()
                            byAncestor()
                            byConstraint()
                        }
                    }
                }
            }
        }
    
        def "will use a project strict version over an ancestor provided strict version"() {
            given:
            repository {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 15K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/constraints/PublishedDependencyConstraintsIntegrationTest.groovy

                        if (available) {
                            if (GradleMetadataResolveRunner.gradleMetadataPublished) {
                                constraint("org:foo:1.1", "org:foo:1.1").byConstraint('published dependency constraint')
                            } else {
                                constraint("org:foo:1.1", "org:foo:1.1")
                            }
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  4. 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)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/AbstractRichVersionConstraintsIntegrationTest.groovy

                }
            }
            run ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    edge("org:foo", "org:foo:1.0") {
                        byConstraint()
                    }
                    constraint("org:foo:{strictly 1.0}", "org:foo:1.0")
                }
            }
        }
    
        @Issue("gradle/gradle#4186")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 15:37:32 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  6. 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)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/override/ComponentOverrideMetadataResolveIntegrationTest.groovy

                }
            }
            succeeds 'checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    edge('org:foo', 'org:foo:1.0') {
                        byConstraint()
                        artifact(type: 'distribution-tgz')
                    }
                    constraint('org:foo:1.0')
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 03 18:15:26 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. 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)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyResolveIntegrationTest.groovy

                    edge('org:foo', 'org:foo:1.0') {
                        configuration('alice')
                        byConstraint()
                        module('org:bar:1.0') {
                            notRequested()
                            byAncestor()
                            byConstraint()
                            configuration('extra')
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 13:59:13 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/platforms/PlatformResolveIntegrationTest.groovy

                            'org.gradle.usage': 'java-api',
                            'org.gradle.category': 'platform',
                            'org.gradle.status': 'release',
                        ])
                        byConstraint()
                        noArtifacts()
                    }
                    constraint("org:platform:1.0", "org:platform:1.0") {
                        variant("platform-compile", [
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 25.9K bytes
    - Viewed (0)
Back to top