Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 265 for withArgument (0.23 sec)

  1. testing/distributions-integ-tests/src/integTest/groovy/org/gradle/SrcDistributionIntegrationSpec.groovy

                inDirectory(contentsDir)
                usingExecutable('gradlew')
                withArgument("--no-configuration-cache") // TODO:configuration-cache remove me
                withTasks(':distributions-full:binDistributionZip')
                withArgument("-D${PLUGIN_PORTAL_OVERRIDE_URL_PROPERTY}=${gradlePluginRepositoryMirrorUrl()}")
                withArgument("-Porg.gradle.java.installations.paths=${Jvm.current().javaHome.absolutePath}")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. testing/soak/src/integTest/groovy/org/gradle/buildinit/JavaApplicationInitSoakTest.groovy

                requireOwnGradleUserHomeDir()
            }
    
            when:
            succeeds('init', '--type', 'java-application', '--dsl', 'groovy')
    
            and:
            executer.withArgument("-Porg.gradle.java.installations.auto-detect=false")
            executer.withArgument("-Porg.gradle.java.installations.auto-download=true")
            succeeds('run')
    
            then:
            outputContains("Hello World!")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/ParallelProjectExecutionIntegrationTest.groovy

                    }
                }
            }
        }
    }
    """
            executer.withArgument('--parallel')
            executer.withArgument('--max-workers=3') // needs to be set to the maximum number of expectConcurrentExecution() calls
            executer.withArgument('--info')
        }
    
        def "executes dependency project targets concurrently"() {
            projectDependency from: 'a', to: ['b', 'c', 'd']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ParallelDependencyResolutionIntegrationTest.groovy

        @Rule BlockingHttpServer blockingServer = new BlockingHttpServer()
    
        def setup() {
            executer.withArgument('--parallel')
            executer.withArgument('--max-workers=3') // needs to be set to the maximum number of expectConcurrentExecution() calls
            executer.withArgument('--info')
    
            executer.requireOwnGradleUserHomeDir()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  5. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/fixtures/MSBuildExecutor.java

        }
    
        public MSBuildExecutor withProject(String projectName) {
            this.projectName = projectName;
            return this;
        }
    
        public MSBuildExecutor withArgument(String arg) {
            this.args.add(arg);
            return this;
        }
    
        private MSBuildExecutor addArguments(String... args) {
            this.args.addAll(Arrays.asList(args));
            return this;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8K bytes
    - Viewed (0)
  6. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/ivy/IvyS3RepoResolveIntegrationTest.groovy

        @Override
        RepositoryServer getServer() {
            return server
        }
    
        protected ExecutionResult succeeds(String... tasks) {
            executer.withArgument("-Dorg.gradle.s3.endpoint=${server.uri}")
            executer.withArgument("-Dorg.gradle.s3.maxErrorRetry=0")
            result = executer.withTasks(*tasks).run()
        }
    
        def "cannot add invalid authentication types for s3 repo"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ConcurrentDerivationStrategyIntegTest.groovy

                      }
                   }
                }
            """
    
            when:
            executer.withArgument('--parallel')
            run 'resolve'
    
            then:
            noExceptionThrown()
    
            when: "second build from cache"
            executer.withArgument('--parallel')
            run 'resolve'
    
            then:
            noExceptionThrown()
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. platforms/software/resources-http/src/testFixtures/groovy/org/gradle/integtests/fixtures/AbstractHttpDependencyResolutionTest.groovy

        @Rule
        public final RepositoryHttpServer server = new RepositoryHttpServer(temporaryFolder)
    
        def setup() {
            executer.beforeExecute {
                executer.withArgument("-D${SOCKET_TIMEOUT_SYSTEM_PROPERTY}=60000")
                executer.withArgument("-D${CONNECTION_TIMEOUT_SYSTEM_PROPERTY}=60000")
            }
        }
    
        IvyHttpRepository getIvyHttpRepo(HttpRepository.MetadataType metadataType = HttpRepository.MetadataType.DEFAULT) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/OfflineSourceDependencyIntegrationTest.groovy

            repo.expectCloneSomething()
            succeeds('resolve')
    
            when:
            executer.withArgument('--offline')
            succeeds('resolve')
    
            then:
            noExceptionThrown()
        }
    
        def "fails when previous checkout is not available"() {
            when:
            executer.withArgument('--offline')
            fails('resolve')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. testing/integ-test/src/integTest/groovy/org/gradle/integtests/MultiProjectDependencyIntegrationTest.groovy

    allprojects {
        apply plugin: 'java-library'
    
        task copyLibs(type: Copy) {
            from configurations.runtimeClasspath
            into 'deps'
        }
    
        compileJava.dependsOn copyLibs
    }
    """
            executer.withArgument('--info')
        }
    
        def "project dependency c->[a,b]"() {
            projectDependency from: 'c', to: ['a', 'b']
            when:
            run ':c:build'
    
            then:
            jarsBuilt 'a', 'b', 'c'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top