Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 188 for checkDeps (0.21 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentAttributesRulesIntegrationTest.groovy

                    }
                }
            }
    
            then:
            if (fixApplied) {
                run ':checkDeps'
                resolve.expectGraph {
                    root(":", ":test:") {
                        module('org.test:module:1.0')
                    }
                }
            } else {
                fails ':checkDeps'
                if (useIvy() && !isGradleMetadataPublished()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/AbstractRichVersionConstraintsIntegrationTest.groovy

            """
    
            when:
            repositoryInteractions {
                'org:foo:1.0' {
                    expectGetMetadata()
                    expectGetArtifact()
                }
            }
            run ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    edge("org:foo:{strictly 1.0}", "org:foo:1.0")
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 15:37:32 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/DependencyResolveRulesIntegrationTest.groovy

                        }
                    }
                    failOnVersionConflict()
                }
    """
            resolve.prepare("conf")
    
            expect:
            succeeds("checkDeps")
            resolve.expectGraph {
                root(":", ":test:") {
                     module("org.stuff:foo:2.0") {
                        module("org.utils:api:1.5") {
                            selectedByRule()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/VersionConflictResolutionIntegrationTest.groovy

    }
    
    configurations { compile }
    
    dependencies {
        compile 'org:external:1.2'
        compile 'org:dep:2.2'
    }
    
    task checkDeps {
        def files = configurations.compile
        doLast {
            files.files
        }
    }
    """
    
            expect:
            runAndFail("checkDeps")
            failure.assertHasCause("Could not find org:external:1.4.")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/constraints/DependencyConstraintsAndResolutionStrategiesIntegrationTest.groovy

                    }
                }
                configurations.conf.resolutionStrategy {
                    force 'org:foo:1.0'
                }
            """
    
            when:
            run 'checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    constraint("org:foo:1.1","org:foo:1.0")
                    module("org:bar:1.0") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/reproducibility/FailOnDynamicVersionsResolveIntegrationTest.groovy

                'org:test:1.0'()
            }
    
            when:
            repositoryInteractions {
                'org:test:1.0' {
                    expectResolve()
                }
            }
            succeeds ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    project(":other", "test:other:unspecified") {
                        configuration('default')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyNotationIntegrationSpec.groovy

            succeeds 'checkDeps'
        }
    
        def "fails gracefully for invalid notations"() {
            when:
            buildFile <<  """
    configurations {
        conf
    }
    
    dependencies {
        conf 100
    }
    
    task checkDeps
    """
            then:
            fails 'checkDeps'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:17:32 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/override/ComponentOverrideMetadataResolveIntegrationTest.groovy

                    maybeHeadOrGetArtifact(type: 'distribution-tgz')
                }
            }
            succeeds 'checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    edge('org:foo', 'org:foo:1.0') {
                        byConstraint()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 03 18:15:26 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/gmm/GradleModuleMetadataAvailableAtIntegrationTest.groovy

                'org:moduleA:1.0' {
                    expectGetMetadata()
                }
                'org:external:1.0' {
                    expectResolve()
                }
            }
            run ":checkDeps"
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    module("org:moduleA:1.0") {
                        noArtifacts()
                        module("org:external:1.0")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/strict/StrictVersionConstraintsIntegrationTest.groovy

                    expectGetArtifact()
                }
                'org:bar:1.0' {
                    expectGetMetadata()
                    expectGetArtifact()
                }
            }
            run ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(':', ':test:') {
                    edge('org:foo:{strictly 1.0}', 'org:foo:1.0')
                    module('org:bar:1.0') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 19.6K bytes
    - Viewed (0)
Back to top