Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 192 for checkDeps (0.28 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyResolveIntegrationTest.groovy

            dep.getArtifact().expectGet()
    
            when:
            succeeds "checkDeps"
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    module("org.gradle:test:1.45")
                }
            }
    
            when:
            // Need to check twice to use the cached version too
            succeeds "checkDeps"
    
            then:
            resolve.expectGraph {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 13:59:13 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/TomlDependenciesExtensionIntegrationTest.groovy

                }
    
                dependencies {
                    implementation libs.my.lib
                }
    
                tasks.register("checkDeps", CheckDeps) {
                    input.from(configurations.runtimeClasspath)
                }
    
                class CheckDeps extends DefaultTask {
                    @InputFiles
                    final ConfigurableFileCollection input = project.objects.fileCollection()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 33K 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/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)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/KotlinDslVersionCatalogExtensionIntegrationTest.groovy

                    }
                }
    
                tasks.register<CheckDeps>("checkDeps") {
                    files.from(configurations.compileClasspath)
                    expected.set(listOf("lib-1.1.jar"))
                }
            """
    
            when:
            lib.pom.expectGet()
            lib.artifact.expectGet()
    
            then:
            succeeds ':checkDeps'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 17K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyDynamicRevisionResolveIntegrationTest.groovy

                }
    """
    
            when:
            repositoryInteractions {
                'org.test:projectA' {
                    expectVersionListing()
                }
            }
            runAndFail 'checkDeps'
    
            then:
            failureHasCause 'Could not find any matches for org.test:projectA:latest.integration as no versions of org.test:projectA are available.'
    
            when:
            resetExpectations()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/ComponentSelectionRulesErrorHandlingIntegTest.groovy

            repositoryInteractions {
                'org.utils:api:1.2' {
                    allowAll()
                }
            }
    
            then:
            fails ':checkDeps'
            GradleContextualExecuter.configCache || failure.assertHasDescription("Execution failed for task ':checkDeps'.")
            failure.assertHasFileName("Build file '$buildFile.path'")
            failure.assertHasLineNumber(lines + 10)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/DependencyResolveRulesDisableGlobalDependencySubstitutionIntegrationTest.groovy

            when:
            resolveLocalPath()
            run ':m1:checkDeps'
    
            then:
            expectResolvedToLocal(resolveLocal)
    
            when:
            resolvePublishedPath()
            run ':m1:checkDeps'
    
            then:
            expectResolveToPublished(resolvePublished)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/MultipleVariantSelectionIntegrationTest.groovy

                    if (!conflict) {
                        expectGetArtifact()
                    }
                }
            }
            if (conflict) {
                fails 'checkDeps'
            } else {
                succeeds 'checkDeps'
            }
    
            then:
            if (conflict) {
                failure.assertHasCause("""Module 'org:test' has been rejected:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 22:29:19 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ConfigurationDefaultsIntegrationTest.groovy

    configurations.conf.defaultDependencies { deps ->
        deps.add project.dependencies.create("org:default-dependency:1.0")
    }
    """
            resolve.prepare {
                config("conf", "checkDeps")
                config("child", "checkChild")
            }
    
            when:
            run "checkDeps"
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    module("org:default-dependency:1.0")
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:18:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top