Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 130 for withArgument (0.17 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/TestProxyServer.groovy

            if (userName) {
                executer.withArgument("-D${proxyScheme}.proxyUser=${userName}")
            }
            if (password) {
                executer.withArgument("-D${proxyScheme}.proxyPassword=${password}")
            }
        }
    
        void configureProxyHost(GradleExecuter executer, String proxyScheme) {
            assert port > 0
            executer.withArgument("-D${proxyScheme}.proxyHost=localhost")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. platforms/jvm/jvm-services/src/integTest/groovy/org/gradle/jvm/toolchain/JavaInstallationRegistryIntegrationTest.groovy

                .withEnvironmentVars([JDK1: new File("/unknown/env").absolutePath, JDK2: firstJavaHome])
                .withArgument("-Porg.gradle.java.installations.paths=${new File("/unknown/path").absolutePath}," + secondJavaHome)
                .withArgument("-Porg.gradle.java.installations.fromEnv=JDK1,JDK2")
                .withArgument("--info")
                .withTasks("show")
                .run()
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:29:03 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/FileSystemWatchingFixture.groovy

            executer.withArgument(FileSystemWatchingHelper.dropVfsArgument)
        }
    
        AbstractIntegrationSpec withWatchFs() {
            executer.withArgument(FileSystemWatchingHelper.enableFsWatchingArgument)
            this as AbstractIntegrationSpec
        }
    
        AbstractIntegrationSpec withoutWatchFs() {
            executer.withArgument(FileSystemWatchingHelper.disableFsWatchingArgument)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/CommandLineIntegrationSpec.groovy

            cleanup:
            jdwpClient.close()
        }
    
        private startWithDebug(int port, String host) {
            executer.withArgument("-Dorg.gradle.debug=true")
                .withArgument("-Dorg.gradle.debug.port=" + port)
                .withArgument("-Dorg.gradle.debug.host=" + host)
                .withTasks("help")
                .start()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 05:05:14 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/SocksProxyServer.groovy

            // build -> proxy(localhost) -> repo(localhost)
            //                           -> 127.0.0.1
            //
            executer.withArgument('-DsocksProxyHost=localhost')
            executer.withArgument("-DsocksProxyPort=${port}")
            executer.withArgument("-DsocksNonProxyHosts=127.*")
        }
    
        void stop() {
            socksServer?.stop()
            portFinder.releasePort(port)
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/jvm/JavaToolchainFixture.groovy

                        languageVersion = JavaLanguageVersion.of(${majorVersion})
                    }
                }
            """
        }
    
        AbstractIntegrationSpec withAutoDetection() {
            executer.withArgument("-Porg.gradle.java.installations.auto-detect=true")
            return this as AbstractIntegrationSpec
        }
    
        /**
         * Usage:
         * <pre>
         *     def jvm1 = Jvm.current()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonToolchainCoexistWithCurrentOptionsIntegrationTest.groovy

            def otherJvmMetadata = AvailableJavaHomes.getJvmInstallationMetadata(otherJvm)
            captureJavaHome()
            executer
                .withArgument("-PtoolchainVersion=$otherJvmMetadata.javaVersion")
                .withArgument("-PtoolchainVendor=$otherJvmMetadata.vendor.knownVendor")
    
            expect:
            succeeds("help")
            assertDaemonUsedJvm(Jvm.current())
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractContinuousIntegrationTest.groovy

            executer.beforeExecute {
                def initScript = file("init.gradle")
                initScript.text = buildLogicForMinimumBuildTime(minimumBuildTimeMillis)
                withArgument("-I").withArgument(initScript.absolutePath)
            }
        }
    
        protected int getMinimumBuildTimeMillis() {
            2000
        }
    
        protected void withoutContinuousBuild() {
            withoutContinuousArg = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top