Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 89 for allocAll (0.16 sec)

  1. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/NonDeclarativePluginUseIntegrationSpec.groovy

            pluginBuilder2.with {
                addPlugin("project.task('plugin2Task')", "test-plugin-2", "TestPlugin2")
                publishAs(GROUP, ARTIFACT + "2", VERSION, pluginRepo, executer).allowAll()
            }
    
            publishPlugin """
                    // can load plugin dependent on
                    project.apply plugin: 'test-plugin-2'
    
                    // Can see dependency classes
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/CatalogPluginsKotlinDSLIntegrationTest.groovy

                .allowAll()
            String secondPluginId = 'com.acme.greeter2'
            new PluginBuilder(file("greeter-second"))
                .addPluginWithPrintlnTask('greet2', 'Hello from second plugin!', secondPluginId, "SecondPlugin")
                .publishAs("some", "artifact2", pluginVersion, pluginPortal, executer)
                .allowAll()
    
            file("settings.gradle") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/AbstractProxyResolveIntegrationTest.groovy

            setupServer()
    
            and:
            buildFile << """
    repositories {
        maven { url "${repoServerUrl}" }
    }
    """
            when:
            proxyServer.configureProxy(executer, proxyScheme)
            module.allowAll()
    
            then:
            succeeds('listJars')
    
            and:
            if (isTunnel()) {
                proxyServer.requestCount == 1
            } else {
                proxyServer.requestCount == 2
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. platforms/jvm/java-platform/src/integTest/groovy/org/gradle/integtests/resolve/platforms/JavaPlatformResolveIntegrationTest.groovy

                    implementation 'org:bar:1.0'
                }
    """
            checkConfiguration("runtimeClasspath")
            platformGMM.allowAll()
            bar.allowAll()
            foo.allowAll()
            foobar.allowAll()
            foobaz.allowAll()
            mavenBom.allowAll()
            run ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(':', 'org.test:test:1.9') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentMetadataRulesCachingIntegrationTest.groovy

    dependencies {
        components {
            all(CachedRule)
        }
    }
    """
    
            when:
            repositoryInteractions {
                'org.test:projectA:1.0' {
                    allowAll()
                }
                'org.test:projectB:1.0' {
                    allowAll()
                }
            }
    
            then:
            succeeds 'resolve'
            outputContains('Rule executed')
            outputContains('See dependency')
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenComponentMetadataRulesStatusIntegrationTest.groovy

        def "snapshot and release versions have correct status"() {
            given:
            repo.module('group1', 'projectA', '1.0').publish().allowAll()
            repo.module('group2', 'projectB', '2.0-SNAPSHOT').publish().allowAll()
            def c = repo.module('group2', 'projectC', '12-SNAPSHOT').publish().allowAll()
    
            and:
            buildFile.text =
    """
    $repoDeclaration
    configurations { compile }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/PostPluginResolutionFailuresIntegrationSpec.groovy

            executer.requireOwnGradleUserHomeDir()
        }
    
        def "error loading plugin"() {
            pluginBuilder.addUnloadablePlugin(PLUGIN_ID)
            pluginBuilder.publishAs(GROUP, ARTIFACT, VERSION, pluginRepo, executer).allowAll()
    
            buildScript applyPlugin()
    
            expect:
            fails("verify")
            failure.assertThatDescription(startsWith("An exception occurred applying plugin request [id: 'org.my.myplugin', version: '1.0']"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/ComponentSelectionRulesErrorHandlingIntegTest.groovy

                            }
                        }
                    }
                }
            """
    
            when:
            repositoryInteractions {
                'org.utils:api:1.2' {
                    allowAll()
                }
            }
    
            then:
            fails ':checkDeps'
            GradleContextualExecuter.configCache || failure.assertHasDescription("Execution failed for task ':checkDeps'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/crossVersionTest/groovy/org/gradle/integtests/resolve/artifactreuse/CacheReuseCrossVersionIntegrationTest.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
    - 4.9K bytes
    - Viewed (0)
  10. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/AbstractSourcesAndJavadocJarsIntegrationTest.groovy

            module.artifact(classifier: "api")
            module.artifact(classifier: "sources")
            module.artifact(classifier: "javadoc")
            module.publish()
            module.allowAll()
    
            buildFile << """
    dependencies {
        implementation 'some:module:1.0:api'
    }
    """
    
            when:
            useMavenRepo(repo)
            succeeds ideTask
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 20.9K bytes
    - Viewed (0)
Back to top