Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 886 for checkdead (0.2 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/consistency/ProjectLocalDependencyResolutionConsistencyIntegrationTest.groovy

                }
            """
    
            when:
            repositoryInteractions {
                'org:foo:1.1' {
                    expectResolve()
                }
            }
            run 'checkDeps'
    
            then:
            resolve.expectGraph {
                root(':', ':test:') {
                    edge('org:foo:1.0', 'org:foo:1.1') {
                        byConsistentResolution('other')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  2. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildCommandLineArgsIntegrationTest.groovy

            execute(buildA, ":checkDeps", ["--settings-file", "settings-copy.gradle"])
    
            then:
            assertTaskExecuted(":buildB", ":jar")
        }
    
        def "does not exclude tasks when building artifact for included build"() {
            given:
            dependency 'org.test:buildB:1.0'
    
            when:
            execute(buildA, ":checkDeps", ["--exclude-task", "jar"])
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 09 12:02:33 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/BadPomFileResolveIntegrationTest.groovy

                configurations { compile }
                dependencies {
                    compile "group:artifact:1.0"
                }
            """
            resolve.prepare()
    
            expect:
            succeeds ":checkDeps"
            resolve.expectGraph {
                root(":", ":test:") {
                    module("group:artifact:1.0")
                }
            }
        }
    
        def "reports POM that cannot be parsed"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 18:31:50 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyHttpRepoResolveIntegrationTest.groovy

                }
                configurations { compile }
                dependencies { compile 'org.group.name:projectA:1.2' }
            """
            failedResolve.prepare()
    
            when:
    
            fails 'checkDeps'
            then:
            failedResolve.assertFailurePresent(failure)
            failure.assertHasCause("Could not resolve all files for configuration ':compile'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/constraints/PublishedDependencyConstraintsIntegrationTest.groovy

                    expectGetArtifact()
                }
                'org:first-level:1.0' {
                    allowAll()
                    expectGetArtifact()
                }
            }
    
            when:
            run 'checkDeps'
    
            then:
            def expectedVariant = useMaven() ? 'runtime' : 'default'
            resolve.expectDefaultConfiguration(expectedVariant).expectGraph {
                root(":", ":test:") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyBrokenDescriptorIntegrationTest.groovy

            and:
            def module = ivyHttpRepo.module('group', 'projectA', '1.2').publish()
            module.ivyFile.text = "<ivy-module>"
    
            when:
            module.ivy.expectGet()
    
            then:
            fails "checkDeps"
            failedResolve.assertFailurePresent(failure)
            failure
                .assertResolutionFailure(":compile")
                .assertHasCause("Could not parse Ivy file ${module.ivy.uri}")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/VersionCatalogExtensionIntegrationTest.groovy

                    implementation libs.my.great.lib
                }
            """
    
            when:
            lib.pom.expectGet()
            lib.artifact.expectGet()
    
            then:
            run ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    module('org.gradle.test:lib:1.0')
                }
            }
    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