Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for byConstraint (0.34 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/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