Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 128 for withArgument (0.16 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestExecutionIntegrationTest.groovy

            // In a nutshell, this tests that we don't even try to load classes that are there, but that we shouldn't see.
    
            when:
            executer
                .withArgument("-Porg.gradle.java.installations.paths=${AvailableJavaHomes.getAvailableJvms().collect { it.javaHome.absolutePath }.join(",")}")
                .withToolchainDetectionEnabled()
            buildFile << """
                plugins {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishHttpIntegTest.groovy

            given:
            buildFile << publicationBuildWithoutCredentials(version, group, ivyHttpRepo.uri)
    
            if (!extraChecksums) {
                executer.withArgument("-Dorg.gradle.internal.publish.checksums.insecure=true")
                module.withoutExtraChecksums()
            }
    
            and:
            module.jar.expectPut()
            module.jar.sha1.expectPut()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleExecuter.java

         */
        GradleExecuter withArguments(String... args);
    
        /**
         * Sets the additional command-line arguments to use when executing the build. Defaults to an empty list.
         */
        GradleExecuter withArguments(List<String> args);
    
        /**
         * Adds an additional command-line argument to use when executing the build.
         */
        GradleExecuter withArgument(String arg);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyUnresolvedModuleIntegrationTest.groovy

        MavenHttpModule moduleA
    
        def setup() {
            moduleA = publishMavenModule(mavenHttpRepo, 'a')
            downloadedLibsDir = file('build/libs')
            executer.beforeExecute {
                executer.withArgument("-D${SOCKET_TIMEOUT_SYSTEM_PROPERTY}=1000")
            }
        }
    
        void blockingForProtocol(String protocol, HttpResource... resources) {
            if (protocol == 'http') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 11:51:18 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformWithFileInputsIntegrationTest.groovy

                    dependencies {
                        implementation project(':b')
                        implementation project(':c')
                    }
                }
    """
    
            when:
            executer.withArgument("--continue")
            fails(":a:resolve")
    
            then:
            result.assertTasksExecuted(":a:tool", ":b:producer", ":c:producer")
            outputDoesNotContain("processing")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 20.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SmokeContinuousIntegrationTest.groovy

                  outputs.files "build/marker"
                  doLast {
                    println "value: " + inputFile.text
                  }
                }
            """
    
            then:
            executer.withArgument("-q")
            succeeds("myTask")
            output.contains "value: original"
    
            when:
            waitBeforeModification(markerFile)
            markerFile.text = "changed"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainDownloadSpiIntegrationTest.groovy

                }
            """
    
            file("src/main/java/Foo.java") << "public class Foo {}"
    
            when:
            def result = executer
                .withTasks("compileJava")
                .withArgument("--$logLevel")
                .requireOwnGradleUserHomeDir()
                .withToolchainDownloadEnabled()
                .withStackTraceChecksDisabled()
                .run()
    
            and:
            jdkRepository.stop()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 10:53:57 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginVersionIntegrationTest.groovy

        def "is incremental"() {
            given:
            goodCode()
    
            expect:
            succeeds("checkstyleMain")
            executedAndNotSkipped(":checkstyleMain")
    
            executer.withArgument("-i")
            succeeds("checkstyleMain")
            skipped(":checkstyleMain")
    
            when:
            file("build/reports/checkstyle/main.xml").delete()
            file("build/reports/checkstyle/main.html").delete()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/BeforeResolveIntegrationTest.groovy

                configurations {
                    foo
                }
    
                dependencies {
                    foo "org.test:module1:1.0"
                }
            """
    
            expect:
            executer.withArgument("--parallel")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 02:27:32 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputIntegrationTest.groovy

            def original = file('build/original/original.txt')
            original.text = "Original"
            def backup = file('backup/original.txt')
    
            and:
            executer.beforeExecute {
                withArgument("--max-workers=1")
            }
    
            when:
            succeeds "backup"
            then:
            executedAndNotSkipped(':backup')
    
            when:
            succeeds "restore"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top