Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 402 for withArgument (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java

        }
    
        @Override
        public GradleExecuter withArguments(String... args) {
            return withArguments(Arrays.asList(args));
        }
    
        @Override
        public GradleExecuter withArguments(List<String> args) {
            this.args.clear();
            this.args.addAll(args);
            return this;
        }
    
        @Override
        public GradleExecuter withArgument(String arg) {
            this.args.add(arg);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  7. 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)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/AlignmentIntegrationTest.groovy

            // Disable daemon, so that the second run executes with the file cache
            // and therefore make sure that we read the "missing" status from disk
            executer.withArgument('--no-daemon')
    
            repository {
                path 'xml -> core'
                path 'json -> core'
                path 'xml:1.1 -> core:1.1'
                path 'json:1.1 -> core:1.1'
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 59.6K 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