Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for checkDeps (0.2 sec)

  1. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/GitVersionSelectionIntegrationTest.groovy

            repo.expectCloneSomething()
            run('checkDeps')
    
            then:
            fixture.expectGraph {
                root(":", "test:consumer:1.2") {
                    edge("test:test:latest.integration", ":dep", "test:test:2.0") {
                    }
                }
            }
            result.assertTasksExecuted(":dep:jar_2.0", ":checkDeps")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/suppliers/CustomVersionListerIntegrationTest.groovy

            }
    
            then:
            succeeds 'checkDeps'
        }
    
        void "doesn't fallback to repository listing when empty list version is returned"() {
            withLister([testA: []])
            given:
            buildFile << """
                dependencies {
                    conf "org:testA:+"
                }
            """
    
            when:
            fails 'checkDeps'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/strict/StrictVersionConstraintsFeatureInteractionIntegrationTest.groovy

                    expectGetArtifact()
                }
                'org:baz:1.0' {
                    expectGetMetadata()
                    expectGetArtifact()
                }
            }
            run ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(':', ':test:') {
                    module('org:bar:1.0') {
                        edge('org:baz:{strictly 1.0}', 'org:baz:1.0')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 15K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top