Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 for withArgument (0.2 sec)

  1. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishHttpIntegTest.groovy

            given:
            buildFile << publicationBuildWithoutCredentials(version, group, mavenRemoteRepo.uri)
    
            if (!extraChecksums) {
                executer.withArgument("-Dorg.gradle.internal.publish.checksums.insecure=true")
                module.withoutExtraChecksums()
            }
            expectModulePublish(module, extraChecksums)
    
            when:
            succeeds 'publish'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyManagementResultsAsInputsIntegrationTest.groovy

            executer.beforeExecute {
                executer.noDeprecationChecks() // Cannot convert the provided notation to a File or URI
                executer.withArgument("-Dorg.gradle.internal.max.validation.errors=20")
            }
    
            given:
            buildFile << """
                interface NestedBean {
                    $annotation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformExecutionBuildOperationIntegrationTest.groovy

        }
    
        void enableIdentityCache() {
            // So we don't get a daemon from another test
            executer.requireIsolatedDaemons()
            executer.beforeExecute {
                executer.withArgument("-D$REUSE_USER_HOME_SERVICES=true")
            }
        }
    
        List<BuildOperationRecord> getTransformExecutions() {
            buildOperations.all(ExecuteWorkBuildOperationType)
        }
    
        @NamedVariant
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 16:27:38 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart1IntegrationTest.groovy

                    @Nested
                    public NestedBean getNestedBean() { return nested; }
                }
            """
    
            expect:
            executer.withArgument("-Dorg.gradle.internal.max.validation.errors=7")
            assertValidationFailsWith([
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/TomlDependenciesExtensionIntegrationTest.groovy

        }
    
        private GradleExecuter withConfigurationCache() {
            executer.withArgument("--configuration-cache")
        }
    
        @Issue("https://github.com/gradle/gradle/issues/20383")
        def "should throw an error if 'from' is called with file collection containing more than one file"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 33K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiModelQueryIntegrationTest.groovy

            """
    
            when:
            executer.withArguments(ENABLE_CLI)
            fetchModel(SomeToolingModel, "help")
    
            then:
            notExecuted("help")
            fixture.assertStateStored {
                projectsConfigured(":buildSrc", ":")
                modelsCreated(":")
            }
    
            when:
            executer.withArguments(ENABLE_CLI)
            fetchModel(SomeToolingModel, ":dummyTask")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingModelsWithDependencyResolutionIntegrationTest.groovy

            file("c/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
            file("d/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
    
            when:
            executer.withArguments(ENABLE_CLI)
            def model = runBuildAction(new FetchCustomModelForEachProject())
    
            then:
            model.size() == 4
            model[0].message == "project :a classpath = 2"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiBuildActionIntegrationTest.groovy

    
            when:
            executer.withArguments(ENABLE_CLI)
            def model3 = runBuildAction(new FetchCustomModelForEachProject())
    
            then:
            fixture.assertStateLoaded()
    
            and:
            model3.size() == 1
            model3[0].message == "It works from project :"
    
    
            when:
            executer.withArguments(ENABLE_CLI)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiCoupledProjectsIntegrationTest.groovy

                myExtension.message = "project b"
            """
            file("c/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
    
            when:
            executer.withArguments(ENABLE_CLI, WARN_PROBLEMS_CLI_OPT)
            def model = runBuildAction(new FetchCustomModelForEachProject())
    
            then:
            model.size() == 3
            model[0].message == "project a"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiIdeaProjectIntegrationTest.groovy

            when:
            executer.withArguments(ENABLE_CLI)
            fetchModel(IdeaProject)
    
            then:
            fixture.assertStateLoaded()
        }
    
        def "can fetch BasicIdeaProject model for root and re-fetch cached"() {
            settingsFile << """
                rootProject.name = 'root'
            """
    
            when:
            executer.withArguments(ENABLE_CLI)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top