Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 89 for allocAll (0.24 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/reproducibility/FailOnChangingVersionsResolveIntegrationTest.groovy

                        }
                    }
                }
            }
    
            when:
            repositoryInteractions {
                'org:test:1.0-SNAPSHOT' {
                    allowAll()
                }
            }
            fails ':checkDeps'
    
            then:
            failure.assertHasCause("Could not resolve org:test:1.0-SNAPSHOT: Resolution strategy disallows usage of changing versions")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/SettingsPluginIntegrationSpec.groovy

            def message = "hello from settings plugin"
            pluginBuilder.addSettingsPlugin("println '$message'")
            pluginBuilder.publishAs("g", "a", "1.0", pluginPortal, createExecuter()).allowAll()
    
            when:
            relocatedSettingsFile.text = """
                plugins {
                    id "test-settings-plugin" version "1.0"
                }
    
                $relocatedSettingsFile.text
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenLatestResolveIntegrationTest.groovy

            given:
            mavenHttpRepo.getModuleMetaData('group', 'projectA').allowGetOrHead()
            mavenHttpRepo.module('group', 'projectA', '1.0').publish().allowAll()
            mavenHttpRepo.module('group', 'projectA', '1.2-SNAPSHOT').publish().allowAll()
    
            and:
            buildFile << """
                repositories { maven { url "${mavenHttpRepo.uri}" } }
                dependencies { compile 'group:projectA:latest.${status}' }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/AbstractDependencyVerificationIntegTest.groovy

            def mod = mavenHttpRepo.module(group, name, version)
                .allowAll()
            if (conf) {
                conf.resolveStrategy = Closure.DELEGATE_FIRST
                conf.delegate = mod
                conf()
            }
            mod.publish()
        }
    
        protected void addPlugin() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/StaticVersionsReadOnlyCacheDependencyResolutionTest.groovy

            fileInReadReadOnlyCache("modules-${CacheLayout.MODULES.version}/metadata-${CacheLayout.META_DATA.version}/${file}.bin").bytes = [0, 0, 0]
            withReadOnlyCache()
    
            core.allowAll()
            core.rootMetaData.allowGetOrHead()
            util.allowAll()
    
            if (resolveDynamic) {
                mavenHttpRepo.module('org.readonly', 'core', '0.9').publish()
                executer.withArgument("--refresh-dependencies")
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/artifactreuse/ResolutionOverrideIntegrationTest.groovy

    }
    configurations { compile }
    dependencies { compile 'org.name:projectA:1.2' }
    task retrieve(type: Sync) {
        into 'libs'
        from configurations.compile
    }
    """
            and:
            module.allowAll()
    
            when:
            succeeds 'retrieve'
    
            then:
            file('libs').assertHasDescendants('projectA-1.2.jar')
            def snapshot = file('libs/projectA-1.2.jar').snapshot()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/SettingsScriptPluginIntegrationSpec.groovy

            pluginBuilder.publishAs("g", "settings-plugin", "1.0", pluginRepo, executer).allowAll()
            pluginBuilder.addPlugin("project.tasks.create('pluginTask')", "com.test")
            pluginBuilder.publishAs("g", "project-plugin", "1.0", pluginRepo, executer).allowAll()
    
            file("settings.gradle") << """
    pluginManagement {
        repositories {
            maven { url = "$pluginRepo.uri" }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyModuleResolveIntegrationTest.groovy

            def projectD = ivyHttpRepo.module('ivy.configuration', 'projectD', '1.7').publish()
    
            projectA.allowAll()
            projectB.allowAll()
            projectC.allowAll()
            projectD.allowAll()
    
            when:
            run 'retrieve'
    
            then:
            file('libs').assertHasDescendants(['projectA-1.2.jar'] + jars)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 19:13:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/HttpModule.groovy

     * limitations under the License.
     */
    package org.gradle.test.fixtures
    
    import org.gradle.test.fixtures.server.http.HttpArtifact
    
    interface HttpModule extends Module {
        HttpModule allowAll()
        HttpArtifact getArtifact(Map<String, ?> notation)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 828 bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionIntegrationTest.groovy

            httpServer.start()
            def dep1 = withColorVariants(remoteRepo.module("group", "thing1", "1.2")).publish().allowAll()
            def dep2 = withColorVariants(remoteRepo.module("group", "thing2", "1.2")).publish().allowAll()
            withColorVariants(remoteRepo.module("group", "thing3", "1.2")).dependsOn(dep1).dependsOn(dep2).publish().allowAll()
    
            setupBuildWithColorTransformThatTakesUpstreamArtifacts()
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 54.1K bytes
    - Viewed (0)
Back to top