Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 76 for checkDeps (0.38 sec)

  1. 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)
  2. 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)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RepositoriesDeclaredInSettingsIntegrationTest.groovy

                }
            """
    
            when:
            repositoryInteractions {
                'org:module:1.0' {
                    expectResolve()
                }
            }
            run ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    module('org:module:1.0')
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:56:27 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryPublishedTargetJvmEnvironmentIntegrationTest.groovy

            prepareResolve('compileClasspath', 'jre')
    
            when:
            run ':checkDeps'
    
            then:
            expectStandardJVM()
        }
    
        def "Prefers Android variant in Android projects"() {
            given:
            prepareResolve('releaseCompileClasspath', 'android')
    
            when:
            run ':checkDeps'
    
            then:
            expectAndroid()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 13:02:41 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy

                }
            """
            buildFile << """
                configurations.compileClasspath.attributes.attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 6)
            """
    
            when:
            fails ':checkDeps'
    
            then:
            failure.assertHasErrorOutput("""> Could not resolve all dependencies for configuration ':compileClasspath'.
       > Could not resolve project :producer.
         Required by:
             project :
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/DependenciesAttributesIntegrationTest.groovy

                    }
                }
            """
    
            when:
            repositoryInteractions {
                'org:test:1.0' {
                    expectResolve()
                }
            }
            succeeds 'checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    module('org:test:1.0')
                }
            }
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 02:13:52 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/CapabilitiesConflictResolutionIntegrationTest.groovy

                'org:testA:1.0' {
                    expectGetMetadata()
                }
                'org:testB:1.0' {
                    expectGetMetadata()
                }
            }
            fails ":checkDeps"
    
            then:
    
            failure.assertHasCause(error)
    
            where:
            rule                               | error
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 07:37:10 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ProjectDependenciesAttributesIntegrationTest.groovy

                        }
                    }
                }
            """
            file("dep/build.gradle") << blueAndRedVariants()
    
            when:
            run ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    project(':dep', "test:dep:unspecified") {
                        variant "${color}Variant", [color: color]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 22:29:19 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/suppliers/DynamicRevisionRemoteResolveWithMetadataSupplierIntegrationTest.groovy

                }
            }
    
            then:
            succeeds 'checkDeps'
    
            when:
            resetExpectations()
            repositoryInteractions {
                'group:projectB:1.1' {
                    expectResolve()
                }
            }
    
            then:
            executer.withArgument("-Pstatus=integration")
            succeeds 'checkDeps'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 11:46:17 UTC 2024
    - 49K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencySubstitutionRulesIntegrationTest.groovy

                                }
                            }
                        }
                    }
                    failOnVersionConflict()
                }
    """
    
            when:
            run "checkDeps"
    
            then:
            resolve.expectGraph {
                root(":", ":depsub:") {
                    module("org.stuff:foo:2.0") {
                        edge("org.utils:api:1.5", "org.utils:api:1.5") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 52.8K bytes
    - Viewed (0)
Back to top