Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for expectDefaultConfiguration (0.43 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/DependencyLockingLenientModeIntegrationTest.groovy

        }
    }
    """
    
            lockfileFixture.createLockfile('lockedConf', ['org:foo:1.0'], unique)
    
            when:
            succeeds 'checkDeps'
    
            then:
            resolve.expectDefaultConfiguration('runtime')
            resolve.expectGraph {
                root(":", ":depLock:") {
                    edge("org:foo:1.+", "org:foo:1.1") {
                        byConflictResolution("between versions 1.0 and 1.1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/MultiProjectDerivationStrategyIntegTest.groovy

            def resolveA = new ResolveTestFixture(testDirectory.file("resolve-a.gradle"), "conf")
                .expectDefaultConfiguration("runtime")
            def resolveB = new ResolveTestFixture(testDirectory.file("resolve-b.gradle"), "other")
                .expectDefaultConfiguration("runtime")
    
            writeSpec {
                settings {
                    rootProjectName = 'test'
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenVersionRangeResolveIntegrationTest.groovy

            mavenRepo.module('org.test', 'projectA', '1.1').dependsOn('org.test', 'projectB', '[2.0]').publish()
    
            def resolve = new ResolveTestFixture(buildFile, "compile")
            resolve.prepare()
            resolve.expectDefaultConfiguration("runtime")
    
            when:
            succeeds 'checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/platforms/EnforcedPlatformIntegrationTest.groovy

                    api 'com.fasterxml.jackson.core:jackson-core'
                }
            """
    
            def resolve = new ResolveTestFixture(buildFile, 'runtimeClasspath')
            resolve.expectDefaultConfiguration('runtimeElements')
            resolve.prepare()
    
            when:
            succeeds ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(':', ':test:') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/override/ComponentOverrideMetadataResolveIntegrationTest.groovy

    class ComponentOverrideMetadataResolveIntegrationTest extends AbstractModuleDependencyResolveTest {
    
        def "can combine artifact notation and constraints"() {
            resolve.expectDefaultConfiguration(useMaven() ? 'runtime' : 'default')
    
            given:
            repository {
                'org:foo:1.0' {
                    withModule {
                        undeclaredArtifact(type: 'distribution-tgz')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 03 18:15:26 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/MetadataSourcesResolveIntegrationTest.groovy

            then:
            succeeds ":checkDeps"
    
            // We are resolving with "legacy" metadata: always gives default configuration, unless we derive Java library variants for maven repositories
            resolve.expectDefaultConfiguration(useMaven() ? "runtime" : "default")
            resolve.expectGraph {
                root(":", ":test:") {
                    edge("org.test:projectA:1.+", "org.test:projectA:1.2")
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/DependencyResolveRulesDisableGlobalDependencySubstitutionIntegrationTest.groovy

        def setup() {
            resolveLocal = new ResolveTestFixture(buildFile, 'localPath')
            resolveLocal.expectDefaultConfiguration('runtime')
            resolvePublished = new ResolveTestFixture(buildFile, 'publishedPath')
            resolvePublished.expectDefaultConfiguration('runtime')
            resolveLocal.addJavaEcosystem()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/platforms/PlatformResolveIntegrationTest.groovy

                    conf 'org.test:depA'
                    conf 'org.test:depB:1.0'
                    conf 'org.test:depD:1.0'
                }
    """
            checkConfiguration("conf")
            resolve.expectDefaultConfiguration("runtime")
    
            when:
            succeeds 'checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", "org.test:test:1.9") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/AbstractVersionCatalogIntegrationTest.groovy

                    repositories {
                        maven {
                            url = "${mavenHttpRepo.uri}"
                        }
                    }
                }
            """
            resolve.expectDefaultConfiguration("runtime")
            resolve.prepare()
            executer.withPluginRepositoryMirrorDisabled() // otherwise the plugin portal fixture doesn't work!
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ConfigurationDefaultsIntegrationTest.groovy

            }
        }
    }
    
    project(":consumer") {
        dependencies {
            implementation project(":producer")
        }
    }
    """
            resolve.prepare("runtimeClasspath")
            resolve.expectDefaultConfiguration("runtimeElements")
            createDirs("consumer", "producer")
            settingsFile << """
    include 'consumer', 'producer'
    """
    
            when:
            executer.withArgument("-DexplicitDeps=yes")
    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