Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for byConstraint (0.19 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/DependenciesAttributesIntegrationTest.groovy

                }
            }
            succeeds 'checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    edge('org:test', 'org:test:1.0') {
                        byConstraint()
                    }
                    constraint('org:test:1.0', 'org:test:1.0')
                }
            }
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 02:13:52 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy

                this
            }
    
            NodeBuilder maybeByReason(String reason) {
                ignoreReasons.add(reason)
                this
            }
    
            NodeBuilder byConstraint(String reason = null) {
                if (reason == null) {
                    reasons << ComponentSelectionCause.CONSTRAINT.defaultReason
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/VersionCatalogExtensionIntegrationTest.groovy

                        notRequested()
                        byReasons(["rejected version 1.1", "constraint"])
                    }
                    edge("org.gradle.test:lib-ext", "org.gradle.test:lib-ext:1.0") {
                        byConstraint()
                    }
                }
            }
        }
    
        @Issue("https://github.com/gradle/gradle/issues/22650")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 13:37:31 UTC 2024
    - 77.8K bytes
    - Viewed (0)
Back to top