Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 43 for allocAll (0.3 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishHttpsIntegTest.groovy

            keyStore = TestKeyStore.init(file("keystore"))
            server.start()
    
            ivyRemoteRepo = new IvyHttpRepository(server, "/repo", ivyRepo)
            module = ivyRemoteRepo.module('org.gradle', 'publish', '2').allowAll()
        }
    
        def "publish with server certificate"() {
            given:
            keyStore.enableSslWithServerCert(server)
            initBuild()
    
            when:
            expectPublication()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentMetadataRulesChangingModulesIntegrationTest.groovy

        abstract HttpRepository getRepo()
        abstract String getRepoDeclaration()
    
        def moduleA = getRepo().module('org.test', 'moduleA', '1.0')
    
        def setup() {
            moduleA.publish()
            moduleA.allowAll()
        }
    
        def "changing dependency doesn't affect changing flag"() {
            buildFile <<
    """
    $repoDeclaration
    configurations {
        modules
    }
    
    class VerifyingRule implements ComponentMetadataRule {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/IvyHttpModule.groovy

        IvyModuleHttpArtifact getArtifact(Map<String, ?> options = [:]) {
            def artifact = backingModule.moduleArtifact(options)
            return new IvyModuleHttpArtifact(server, prefix, artifact)
        }
    
        IvyHttpModule allowAll() {
            server.allowGetOrHead(prefix, backingModule.moduleDir)
            return this
        }
    
        IvyModuleHttpArtifact getIvy() {
            return new IvyModuleHttpArtifact(server, prefix, backingModule.ivy)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/VersionedPluginUseIntegrationTest.groovy

        void publishPlugin(String impl, String version) {
            pluginBuilder.addPlugin(impl, PLUGIN_ID, "TestPlugin${version.replace('.', '_')}")
            pluginBuilder.publishAs(GROUP, ARTIFACT, version, pluginRepo, executer).allowAll()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinSettingsScriptIntegrationTest.kt

                PluginBuilder(file("plugin")).run {
                    addSettingsPlugin("println '*42*'", "test.MySettingsPlugin", "MySettingsPlugin")
                    publishAs("g", "m", "1.0", pluginPortal, createExecuter()).allowAll()
                }
    
                withSettings(
                    """
                    plugins {
                        id("test.MySettingsPlugin").version("1.0")
                    }
                    """
                )
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/crossVersionTest/groovy/org/gradle/integtests/resolve/ResolveCrossVersionIntegrationTest.groovy

        </configurations>
        <publications>
            <artifact conf="*" ext="jar" name="io" type="jar"/>
        </publications>
    </ivy-module>"""
    
            and:
            module.allowAll()
    
            and:
            buildFile << """
    repositories {
        if (gradle.gradleVersion == '${current.version.version}' || ${previous.fullySupportsIvyRepository}) {
            ivy { url "${ivyHttpRepo.uri}" }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.2K bytes
    - Viewed (0)
Back to top