Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 389 for withArgument (0.27 sec)

  1. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinDslJvmTargetIntegrationTest.kt

            gradleExecuterFor(arrayOf("check", "publish"), rootDir = file("plugin"))
                .withJavaHome(currentJvm.javaHome)
                .withArgument("-Porg.gradle.java.installations.paths=$installationPaths")
                .run()
    
            withSettingsIn("consumer", """
                pluginManagement {
                    repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 08:31:21 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/RuntimePluginValidationIntegrationTest.groovy

                    }
    
                    @TaskAction
                    public void doStuff() { }
                }
            """
    
            expect:
            executer.withArgument("-Dorg.gradle.internal.max.validation.errors=10")
            assertValidationFailsWith([
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 14:30:05 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart2IntegrationTest.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
    - 40K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractConsoleBuildResultFunctionalTest.groovy

    .*"""
        }
    
        def "outcome for successful build is not logged with --quiet"() {
            given:
            buildFile << """
                task success
            """
    
            when:
            executer.withArgument("--quiet")
            succeeds('success')
    
            then:
            result.assertNotOutput("BUILD SUCCESSFUL")
            result.assertNotOutput("actionable task")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/M2Installation.groovy

                }
            }
        }
    
        private static void setMavenLocalLocation(GradleExecuter gradleExecuter, File destination) {
            gradleExecuter.withArgument("-Dmaven.repo.local=${destination?:''}" )
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonLifecycleEncodingSpec.groovy

            daemons(gradleVersion).daemons.size() == 1
    
            when:
            executer.withEnvironmentVars(GRADLE_OPTS: "-Dfile.encoding=ISO-8859-1");
            executer.withArgument("-i")
            run "verify"
    
            then:
            output.contains("verified = ISO-8859-1")
            daemons(gradleVersion).daemons.size() == 2
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ExecutionTimeTaskConfigurationIntegrationTest.groovy

                    dependsOn broken2
                    doLast {
                        broken2.configure { $config }
                    }
                }
            """
    
            when:
            executer.withArgument("--continue")
            fails("broken1", "broken2", "broken3")
    
            then:
            failure.assertHasCause("Cannot call ${description} on task ':broken1' after task has started execution.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildOperationsFixture.groovy

            this.path = projectDir.testDirectory.file(operationsTraceName).absolutePath
            executer.beforeExecute {
                this.tree = null
                executer.withArgument("-D$BuildOperationTrace.SYSPROP=$path")
            }
        }
    
        @Override
        List<BuildOperationRecord> getRoots() {
            getTree().roots
        }
    
        List<BuildOperationRecord> getDanglingChildren() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:21:24 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ContinuousBuildFileWatchingIntegrationTest.groovy

            given:
            // Do not drop the VFS in the first build, since there is only one continuous build invocation.
            // FileSystemWatchingFixture automatically sets the argument for the first build.
            executer.withArgument(FileSystemWatchingHelper.getDropVfsArgument(false))
            executer.beforeExecute {
                withWatchFs()
            }
    
            def numberOfFilesInVfs = 4 // source file, class file, JAR manifest, JAR file
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/ivy/IvyPublishS3IntegrationTest.groovy

    @Requires(IntegTestPreconditions.CanPublishToS3)
    class IvyPublishS3IntegrationTest extends AbstractIvyPublishIntegTest {
        @Rule
        public S3Server server = new S3Server(temporaryFolder)
    
        def setup() {
            executer.withArgument("-Dorg.gradle.s3.endpoint=${server.getUri()}")
        }
    
        def "can publish to an S3 Ivy repository"() {
            given:
            def ivyRepo = server.remoteIvyRepo
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top