Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 88 for allocAll (0.13 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/ForcingPlatformAlignmentTest.groovy

                                version(v) {
                                    allowAll()
                                }
                            }
                        }
                    }
                }
                'bom:bom:1.0' {
                    allowAll()
                }
                'root:root:1.0' {
                    allowAll()
                }
            }
    
            succeeds ':checkDeps'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  2. platforms/extensibility/unit-test-fixtures/src/integTest/groovy/org/gradle/testfixtures/ProjectBuilderIntegrationTest.groovy

            }
        }
    
        def "can resolve remote dependencies"() {
            def repo = new MavenHttpRepository(server, mavenRepo)
            repo.module("org.gradle", "a", "1.0").publish().allowAll()
            server.start()
    
            when:
            project = ProjectBuilder.builder().build()
            project.with {
                repositories {
                    maven { url repo.uri }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/crossVersionTest/groovy/org/gradle/integtests/resolve/artifactreuse/SameCacheUsageCrossVersionIntegrationTest.groovy

    }
    
    task retrieve(type: Sync) {
        into 'libs'
        from configurations.compile
    }
    """
            and:
            def userHome = file('user-home')
    
            when:
            projectB.allowAll()
    
            and:
            version previous withGradleUserHomeDir userHome withTasks 'retrieve' withArguments '-i' run()
    
            then:
            file('libs').assertHasDescendants('projectB-1.0.jar')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyComponentMetadataRulesStatusIntegrationTest.groovy

    """
    repositories {
        ivy {
            url "$ivyHttpRepo.uri"
        }
    }
    """
        }
    
        def setup() {
            repo.module('org.test', 'projectA', '1.0').withStatus("silver").publish().allowAll()
        }
    
        def "module with custom status can be resolved by adapting status scheme"() {
            buildFile <<
                    """
    class StatusRule implements ComponentMetadataRule {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/MavenHttpModule.groovy

            return getArtifact(type: 'module')
        }
    
        MetaDataArtifact getRootMetaData() {
            return new MetaDataArtifact(server, moduleRootUriPath, backingModule)
        }
    
        MavenHttpModule allowAll() {
            server.allowGetOrHead(uriPath, backingModule.moduleDir)
            return this
        }
    
        void missing() {
            server.allowGetOrHeadMissing(pomPath)
            server.allowGetOrHeadMissing(metaDataPath)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyManagementResultsAsInputsIntegrationTest.groovy

            mavenHttpRepo.module("org.external", "external-lib")
                .dependsOn(util)
                .publish()
                .allowAll()
            mavenHttpRepo.module("org.external", "external-lib2")
                .dependsOn(util)
                .withModuleMetadata()
                .publish()
                .allowAll()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeDeclarationIntegrationTest.groovy

            given:
            def pluginBuilder = withSoftwareTypePlugins()
            pluginBuilder.publishAs("com", "example", "1.0", pluginPortal, createExecuter()).allowAll()
    
            file("settings.gradle.dcl") << """
                plugins {
                    id("com.example.test-software-type").version("1.0")
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 19 16:59:01 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/UsingLockingOnNonProjectConfigurationsIntegrationTest.groovy

            given:
            def message = "hello from settings plugin"
            pluginBuilder.addSettingsPlugin("println '$message'")
            pluginBuilder.publishAs("org", "settings-plugin", "1.0", pluginRepo, createExecuter()).allowAll()
    
            and:
            settingsFile.text = """
                pluginManagement {
                    repositories {
                        maven { url "$pluginRepo.uri" }
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/AdditionalVariantsMetadataRulesIntegrationTest.groovy

            repositoryInteractions {
                group("org") {
                    module("a") {
                        version("1") {
                            expectGetMetadata()
                            allowAll()
                        }
                    }
                }
            }
            succeeds 'checkDeps'
            resolve.expectGraph {
                root(":", ":test:") {
                    module("org:a:1") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 16:23:01 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/integtests/fixtures/publish/ModuleVersionSpec.groovy

                    spec.delegate = delegate
                    spec.resolveStrategy = Closure.DELEGATE_FIRST
                    spec()
                }
            }
        }
    
        void allowAll() {
            withModule {
                delegate.allowAll()
            }
        }
    
        void build(HttpRepository repository) {
            def module = repository.module(groupId, artifactId, version)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 14.4K bytes
    - Viewed (0)
Back to top